Re: PostgreSQL connection problems
| From: | Richard Lynch | Date: | Wed, 03 Oct 2001 03:15:33 +0000 |
| Subject: | Re: PostgreSQL connection problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69674@lists.php.net to get a copy of this message | ||
You also can get rid of all those .'s
pg_connect("host=$dbHost port=$dbPuerto dbname=$dbDB user=$dbLogin
password=$dbPassword");
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Alberto <albertoarroundsdrsl.com@pb1.pair.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, September 27, 2001 5:51 AM
Subject: PostgreSQL connection problems
> Warning: Unable to connect to PostgreSQL server: No pg_hba.conf entry for
> host myhost, user myuser, database mydb in /path/to/principal.php on line
27
>
> that's
>
> $bdConexion = pg_connect ("host=".$bdHost." port=".$bdPuerto."
> dbname=".$bdBD." user=".$bdLogin." password=".$bdPassword);
>
>
> PHP is already compiled with PostgreSQL support. PostgreSQL is running on
a
> remote server.
>
> Thnx in advance
>
>