mysql_pconnect options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux