note 17439 added to function.mysql-connect
| From: | griffon9 at hotmail dot com | Date: | Sat, 08 Dec 2001 20:55:52 +0000 |
| Subject: | note 17439 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-22179@lists.php.net to get a copy of this message | ||
This function REALLY needs an argument with the timeout. When the database is down (this happens),
it is necessary to change the default timeout to have the script handle the situation gracefully
instead of waiting for 30 or 60 seconds for nothing and then spitting warnings all over the place.
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+17439
http://master.php.net/manage/user-notes.php?action=delete+17439
http://master.php.net/manage/user-notes.php?action=reject+17439