Re: Re: RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not small)
| From: | JeRRy | Date: | Wed, 08 Nov 2006 04:20:16 +0000 |
| Subject: | Re: Re: RE : RE: [PHP-DB] re: small question php/postgreSQL (basic question, not small) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-42657@lists.php.net to get a copy of this message | ||
True, sorry! (missed that, haha wake up!)
----- Original Message ----
From: Chris <dmagick@gmail.com>
To: JeRRy <jusa_98@yahoo.com>
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/