Intermittent failure when connecting to local MySQL db?

From: Date: Fri, 07 Dec 2001 17:26:05 +0000
Subject: Intermittent failure when connecting to local MySQL db?
Groups: php.db 
Request: Send a blank email to php-db+get-14868@lists.php.net to get a copy of this message
I have a php script that is connecting to a database on the same machine. It will connect and work fine sometimes but about half the time it will fail to connect? The machine is running FreeBSD and gets a lot of traffic. The problem got much worse when we tweaked some kernel parameters to allow more connections to Apache. We have since chaged back to the defaults but we still have the can't connect error every once in a while. Mysql is 3.23 PHP is 4.0.6 Any ideas what it could be? Thanks, Jed.

« previous php.db (#14868) next »