#24133 [Bgs]: mysql.connect_timeout has no effect
| From: | nospam at unclassified dot de | Date: | Sat, 14 Jun 2003 08:14:23 +0000 |
| Subject: | #24133 [Bgs]: mysql.connect_timeout has no effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41892@lists.php.net to get a copy of this message | ||
ID: 24133
User updated by: nospam at unclassified dot de
Reported By: nospam at unclassified dot de
Status: Bogus
Bug Type: MySQL related
Operating System: Windows 2000 Pro
PHP Version: 4.3.2
New Comment:
huh? whatever you wanted to tell me... it's not in the PHP manual nor
in my php.ini file. anyone an idea?
Previous Comments:
------------------------------------------------------------------------
[2003-06-13 16:29:16] georg@php.net
connect_timeout specifies the number of seconds the server is waiting
for a connectpacket before he responding a bad handshake.
------------------------------------------------------------------------
[2003-06-11 13:58:57] nospam at unclassified dot de
I tried to connect to a mysql server that was not accessible.
mysql_connect() gave me an error 10060, that's ok.
But it did that after abt. 20 seconds, and in conjunction with a fatal
error that said my script timed out after 10 seconds. And that's
although I set the 'mysql.connect_timeout' setting to 4 seconds.
It seems the 'mysql.connect_timeout' setting in my php.ini has no
effect on the behaviour of mysql_connect().
I have checked the setting with ini_get() and it was correct.
I have found the bug in PHP 4.3.1, an upgrade to 4.3.2 did not help.
Can it be that connection timeouts aren't supported under Windows
platform? In that case, this should be documented.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24133&edit=1