Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'...
От | Tom Lane |
---|---|
Тема | Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'... |
Дата | |
Msg-id | 12826.1239726159@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: 'no pg_hba.conf entry for host "[local]", user "postgres", database "postgres"'... (Kynn Jones <kynnjo@gmail.com>) |
Ответы |
Re: 'no pg_hba.conf entry for host "[local]", user
"postgres", database "postgres"'...
|
Список | pgsql-general |
Kynn Jones <kynnjo@gmail.com> writes: > On Mon, Apr 13, 2009 at 4:54 PM, Scott Marlowe <scott.marlowe@gmail.com>wrote: >> On Mon, Apr 13, 2009 at 2:01 PM, Kynn Jones <kynnjo@gmail.com> wrote: >>> as the postgres user, I get the error >>> psql: FATAL: no pg_hba.conf entry for host "[local]", user "postgres", >>> database "postgres", SSL off >> What do all the lines look like together? > The uncommented lines are: > local all yours_truly password > host all yours_truly 0.0.0.1/0 md5 > host all yours_truly ::1/128 md5 > local all all ident sameuser That connection should certainly match the last line, and maybe the first too; but it didn't find a match at all. I conclude that this file isn't actually what's driving the postmaster --- you are looking at the wrong file, or you changed it and forgot to SIGHUP the postmaster, or you're connecting to some other postmaster altogether, or some other mistake not visible in the terms of this discussion. regards, tom lane
В списке pgsql-general по дате отправления: