Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'...

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Kynn Jones <kynnjo(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'...
Date: 2009-04-13 20:54:41
Message-ID: dcc563d10904131354m41ce3915hb1c295dfe0768992@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 13, 2009 at 2:01 PM, Kynn Jones <kynnjo(at)gmail(dot)com> wrote:
> When I try to run
> % psql
> as the postgres user, I get the error
> psql: FATAL:  no pg_hba.conf entry for host "[local]", user "postgres",
> database "postgres", SSL off
>
> I don't understand this error, since the pg_hba.conf file includes the line:
> local all all ident sameuser
> What could explain this behavior?

What do all the lines look like together?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2009-04-13 20:59:14 Re: "PostgreSQL in the cloud" now up on media.postgresql.org
Previous Message Jeff Davis 2009-04-13 20:52:11 Re: In memory Database for postgres