ID:               24133
 Updated by:       [EMAIL PROTECTED]
 Reported By:      nospam at unclassified dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Windows 2000 Pro
 PHP Version:      4.3.2
 New Comment:

connect_timeout specifies the number of seconds the server is waiting
for a connectpacket before he responding a bad handshake.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to