Re: [PHP] mysql_connect() with timeout

2001-03-06 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Tue, 6 Mar 2001 01:29:52 -0500 > > Frankly, I don't know how people would otherwise handle connections > to MySQL since the attempts could, potentially, block forever. I guess because the

[PHP] mysql_connect() with timeout

2001-03-05 Thread php
A few months ago I modified PHP 3.0.16 to add an optional fourth parameter to the mysql_connect() functions. The parameter specifies a timeout (in seconds) on the connect(). The patch simply uses the existing mysql_options() function in the MySQL library so it's quite stable code. I'm in the pr