Michael S. Fischer wrote:
Are you connecting through a TCP or a UNIX domain socket?
--Michael
-----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jon Drukman Sent: Tuesday, August 19, 2003 2:36 PM To: [EMAIL PROTECTED] Subject: PHP mysql_connect randomly failing
I've got a library of PHP code whose first line is a mysql_connect statement, like this:
$dbh=mysql_connect() or die("mysql connect failed: $php_errmsg");
Approximately 1% of the time it just fails, for no stated reason:
Warning: mysql_connect() [http://www.php.net/function.mysql-connect]: in /var/httpd/htdocs/pi/pi.php on line 3
mysql connect failed:
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]