Re: PEAR and postgreSQL
| From: | Daniel O'Connor | Date: | Sun, 29 May 2011 11:21:03 +0000 |
| Subject: | Re: PEAR and postgreSQL | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31127@lists.php.net to get a copy of this message | ||
> Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry
> for host "::1", user "user", database "dbname", SSL off
You might want to verify you can connected to the database via a tool
like pgadmin III or similar. The error message above is postgres
telling you that there is nothing configured in the hba_config that
matches how you are trying to connect.
http://www.postgresql.org/docs/8.2/static/auth-pg-hba-conf.html
You'll probably find that whatever config changes you need to make to
support IPv6 are either documented above or can be explained in a more
postgres specific support channel