#44555 [NoF->Bgs]: mysql.connect_timeout ignored
| From: | uw@php.net | Date: | Thu, 15 Oct 2009 16:01:29 +0000 |
| Subject: | #44555 [NoF->Bgs]: mysql.connect_timeout ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143601@lists.php.net to get a copy of this message | ||
ID: 44555
Updated by: uw@php.net
Reported By: tstarling at wikimedia dot org
-Status: No Feedback
+Status: Bogus
Bug Type: MySQL related
Operating System: Windows XP
PHP Version: 5.2.5
Assigned To: uw
New Comment:
Windows, libmysql, connect timeout -> libmysql/MySQL bug not a PHP
issue -> http://bugs.mysql.com/bug.php?id=36225
Previous Comments:
------------------------------------------------------------------------
[2008-07-31 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-07-23 12:12:26] andrey@php.net
Hi,
\I suspect a problem in libmysql, not PHP.
The ext/mysql sources do set the connect_timeout
if (connect_timeout != -1) {
mysql_options(&mysql->conn, MYSQL_OPT_CONNECT_TIMEOUT, (const char
*)&connect_timeout);
}
Are you sure you don't have several libmysql.dll on your system?
------------------------------------------------------------------------
[2008-07-17 09:44:56] tstarling at wikimedia dot org
I don't know what you're talking about. The bug is not DNS-related.
------------------------------------------------------------------------
[2008-07-16 22:36:08] uw@php.net
As I see it the upper wait time is set to 100s. Your Windows gives a
DNS timeout after 20s. PHP bails at you after 20s. 20s < 100s, all
fine.
------------------------------------------------------------------------
[2008-07-15 16:21:05] tstarling at wikimedia dot org
s/ARIN/IANA
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44555
--
Edit this bug report at http://bugs.php.net/?id=44555&edit=1