True, sorry! (missed that, haha wake up!)
----- Original Message ---- From: Chris <[EMAIL PROTECTED]> To: JeRRy <[EMAIL PROTECTED]> Cc: php-db@lists.php.net Sent: Wednesday, 8 November, 2006 3:14:01 PM Subject: Re: [PHP-DB] Re: RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not small) JeRRy wrote: > Test: > > - create a new account user > - go into the www directive > - create a index file > - do phpinfo() > - try and connect to a msql server, no query needed just a connection > - under that delibrately try and enter a mysq server but use a wrong pass, > make sure you error report it with some message on screen. > > if it connects and one fails your connections are fine. > > However make sure you CLOSE each connection seperatley. > > What appears to be happening in your code it it's not going near the mysql > server, it's skipping it. Which means the die error will not appear if it > skips it. > > Ensure php is enabled and mysql is booted etc. > > Also don't try and connect localhost to it, use the outside world. (a > browser - www.whatever.com or IP-ADDRESS) Err - the OP is having an issue with postgresql, not mysql. The subject even mentions this.. -- Postgresql & php tutorials http://www.designmagick.com/