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 wrong with the mysql server as far as i can tell. there are tons of available connection slots.

any ideas?

it also happens with mysql_pconnect() too.

-jsd-



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to