[PHP-DB] mysql_pconnect options

2009-01-15 Thread Kathy Mazur Worden
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 : "

Re: [PHP-DB] mysql_pconnect options

2009-01-15 Thread Chris
Kathy Mazur Worden wrote: 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

Re: [PHP-DB] mysql_pconnect options

2009-01-15 Thread Kathy Mazur Worden
Thanks, I had been to that page and understood it to mean there are not 2 options that would handle the "false, 2" part, but since mysql_pconnect works on one server with the options there has to be a way to get it working on another. Chris wrote: Kathy Mazur Worden wrote: I'm setting up a

Re: [PHP-DB] mysql_pconnect options

2009-01-15 Thread Chris
Kathy Mazur Worden wrote: Thanks, I had been to that page and understood it to mean there are not 2 options that would handle the "false, 2" part, but since mysql_pconnect works on one server with the options there has to be a way to get it working on another. If you want to waste time doing