mysql_pconnect options

[email protected] (Kathy Mazur Worden)
Newsgroups php.db
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.