note 17511 added to function.mysql-connect
| From: | berreb at yahoo dot com | Date: | Wed, 12 Dec 2001 09:30:19 +0000 |
| Subject: | note 17511 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22539@lists.php.net to get a copy of this message | ||
mysql_connect doest not have a timeout parameter, does somebody
have a workaround ?
For example, if the database server is OFF, you do not want to wait
30 seconds for the mysql_connect to return but return a cached page
after 5 sec...
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+17511
http://master.php.net/manage/user-notes.php?action=delete+17511
http://master.php.net/manage/user-notes.php?action=reject+17511