Re: pg_hba.conf question

Поиск
Список
Период
Сортировка
От Milind Patil
Тема Re: pg_hba.conf question
Дата
Msg-id Pine.LNX.4.10.10101301202240.12716-100000@alice.bombay.retortsoft.com
обсуждение исходный текст
Ответ на Re: pg_hba.conf question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin

On Mon, 29 Jan 2001, Tom Lane wrote:

> "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
>
>

Well , it seems Ur editing wrong file.

If Ur working on postgres 6.5 edit the file pg_hba.conf file in pgsql dir

however if Ur working on postgres 7 edit file pg_hba.conf file in
pgsq/data dir and locate other pg_hba.conf file if exists and rename them.

Check this out.

Regrds,

Milind.


В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf question
Следующее
От: lbottorff@harveycounty.com
Дата:
Сообщение: When is a constraint too big?