mysql_pconnect options

From: Date: Thu, 15 Jan 2009 18:13:27 +0000
Subject: mysql_pconnect options
Groups: php.db 
Request: Send a blank email to php-db+get-45879@lists.php.net to get a copy of this message
I'm setting up a webserver for failover on Linux/Apache and am running into problems getting mysql_pconnect to work. The primary webserver (also Linux/Apache) connects to the local MySQL server using: $Conn = mysql_pconnect("localhost", "user", "password", false, 2) or die("Could not connect : " . mysql_error()); However the failover server will only connect to it's local MySQL server if I change the above line by either removing "false, 2" or changing mysql_pconnect to mysql_connect. I've googled around for a solution but haven't found anything. Is there a configuration setting I could have missed? Any other pointers? TIA Kathy

« previous php.db (#45879) next »