PostgreSQL connection problems
| From: | Alberto | Date: | Thu, 27 Sep 2001 10:51:12 +0000 |
| Subject: | PostgreSQL connection problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68980@lists.php.net to get a copy of this message | ||
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