[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 :  . 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



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 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());


RTM (http://au2.php.net/mysql_pconnect).

The syntax is different to mysql_connect.

resource mysql_pconnect  ([ string $server  [, string $username  [, 
string $password  [, int $client_flags   )


After the password, there are client flags and nothing else (new 
link has no meaning with pconnect).




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



[PHP-DB] Award winning peace of mind gjg

2003-04-02 Thread Kathy Dunlap
Php-db Norton SystemWorks 2003 Software Suite Professional Edition

90% Off $300 Combined Retail Value!

Five Feature-Packed Utilities, One Great Price.
Only 39.99$!

Your computer needs Systemworks
Don't wait until it is too late!

Includes  5 Powerful Programs

*Norton AntiVirus 2003

*Norton Ghost 2003

*GoBack 3 Personal Edition

*Norton Utilities 2003

*Norton CleanSweep 2003 -

Your Price for this entire package: $39.99 !

For more information about this limited-time
amazing package or to place your order


http://dealshowroom.com/nsw15.htm

Opt-Out Instructions:
We are strongly against sending unsolicited emails to those
who do not wish to receive our special mailings.  If you
wish to opt out:

http://dealshowroom.com/goodbye.html
milyr ejjxz ieczf
b fp w viru p amiob falytcn
lj
 v majk
bolb
y k
srrubk

[PHP-DB] www.Aerotaxi.net

2001-11-16 Thread kathy


www.Aerotaxi.net

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] www.Aerotaxi.net

2001-10-30 Thread kathy


www.Aerotaxi.net

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]