Re: psql: FATAL: missing or erroneous pg_hba.conf file

From: Mark Sargent <coolboarderguy(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: missing or erroneous pg_hba.conf file
Date: 2006-04-21 14:52:57
Message-ID: 4448F1C9.7070503@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:

>That's short one "all": you need type, database, user, method columns
>(but no address column for "local").
>
Hi All,

yes, Tom, you're correct. Someone mailed me directly(thank you), with a
link to their site's tut on authentication, and I picked up on it
straight away. Seems the sites I was looking at were wrong. Anyway, I
now get this,

[racket(at)ibmlap ~]$ psql template1
psql: FATAL: role "racket" does not exist

Log output:
LOG: database system is ready
LOG: transaction ID wrap limit is 2147484146, limited by database
"postgres"
FATAL: role "racket" does not exist

Which confuses me, as local all all trust should allow me to connect,
no? Or, is there a particular syntax when connecting locally? I can't
imagie that being so, but then agan, I would have expected this to be a
little easier than it has been already. Cheers.

Mark Sargent.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-04-21 15:00:50 Re: psql: FATAL: missing or erroneous pg_hba.conf file
Previous Message Tom Lane 2006-04-21 14:46:14 Re: psql: FATAL: missing or erroneous pg_hba.conf file