Re: Odd mysql_pconnect problem, with two PHPs on seperate ports

From: Date: Tue, 20 Jun 2000 21:23:52 +0000
Subject: Re: Odd mysql_pconnect problem, with two PHPs on seperate ports
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2363@lists.php.net to get a copy of this message
In article <3948E67A.C21EB93A@btcwcu.org>, sleibowitz@btcwcu.org (Sam Leibowitz) wrote: > Try that on port 8000 (running PHP 4.0.0) and you get the following: > "The connection ID is 1. Warning: Supplied argument is not a valid > MySQL-Link resource in > /www/btc/live_site/htdocs/training/connecttest.phtml on line 11 ". Hmmmm. Since MySQL just checks port/username/password to decide to give you the same connection or not (persistent) maybe you need :8000 in the host on the second setup... Assuming it's even valid there. Sounds like MySQL is believing you too literally about that 'host' parameter, but then, that is what you are telling it... And I think the default port is :80... I'm really venturing into territory I don't know much about here, but it will take you about a minute to try it... -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#2363) next »