PHP 4.0 Bug #3271: mysql_connect() fails sometimes

From: Date: Sat, 22 Jan 2000 00:39:55 +0000
Subject: PHP 4.0 Bug #3271: mysql_connect() fails sometimes
Groups: php.dev 
Request: Send a blank email to php-dev+get-14815@lists.php.net to get a copy of this message
From: jrusnak@igl.net Operating system: Linux PHP version: 4.0 Beta 3 PHP Bug Type: MySQL related Bug description: mysql_connect() fails sometimes -Apache 1.3.9 -PHP v4b3 -MySQL 3.22.29 After trying out Zend, PHP scripts started to fail from time to time at the mysql_connect function. A reload will sometimes make it work, but it fails about 50% of the time to connect to the MySQL server, which isn't even showing an attempted connection. It's as if the function isn't trying to correct hostname/port or something. I tried using an IP address instead of a hostname and got the same results. Switching back to PHP3 solved the problem completely, everything was compiled against the same copies of Apache and MySQL. Thanks.

« previous php.dev (#14815) next »