Re: time out for mysql_connect
| From: | Marek Kilimajer | Date: | Fri, 21 Nov 2003 14:36:19 +0000 |
| Subject: | Re: time out for mysql_connect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170567@lists.php.net to get a copy of this message | ||
Diana Castillo wrote:
Is there anyway to set a time out on this command: mysql_connect($host, $UN, $PW); so that if it can´t connect after a certain amount of time, it returns an error and the program continues?ini_set('mysql.connect_timeout', ... );