Re: pg_hba.conf question - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_hba.conf question
Date
Msg-id 25435.980792813@sss.pgh.pa.us
Whole thread Raw
In response to RE: pg_hba.conf question  ("Graham Vickrage" <graham@digitalplanit.com>)
Responses Re: pg_hba.conf question
List pgsql-admin
"Graham Vickrage" <graham@digitalplanit.com> writes:
> After trying the usual command %psql dbname to connect I keep getting the
> message
> No pg_hba.conf entry for host localhost, user postgres, database dbname

Looks to me like you're trying to connect via Unix-socket.  Try
specifying PGHOST=localhost at the client.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Graham Vickrage"
Date:
Subject: RE: pg_hba.conf question
Next
From: Milind Patil
Date:
Subject: Re: pg_hba.conf question