Re: [PHP] mysql_connect() fails randomly

2003-08-18 Thread Curt Zirzow
* Thus wrote Jon Drukman ([EMAIL PROTECTED]): > i've got a library file that i require() in all my scripts. it starts > with this line: > > $dbh=mysql_connect() or die("mysql connect failed: " . mysql_error()); The problem is the mysql_error() cant display what the problem is because the conne

[PHP] mysql_connect() fails randomly

2003-08-18 Thread Jon Drukman
i've got a library file that i require() in all my scripts. it starts with this line: $dbh=mysql_connect() or die("mysql connect failed: " . mysql_error()); about 5% of the time, this fails for no apparent reason. it just prints mysql connect failed: with no error message. there's nothing w