Обсуждение: pg_hba.conf

Поиск
Список
Период
Сортировка

pg_hba.conf

От
quickinfo quickinfo
Дата:
Dear all,

I am using postgres. when I try to connect to the database it is showing me following error. Please look into that and help me out.

an error occurred:

FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database "template1", SSL off.

How do I proceed with this error. What are the things I need to change.

Thank you in advance

Re: pg_hba.conf

От
"A. Kretschmer"
Дата:
In response to quickinfo quickinfo :
> Dear all,
>
> I am using postgres. when I try to connect to the database it is showing me
> following error. Please look into that and help me out.
>
> an error occurred:
>
> FATAL: no pg_hba.conf entry for host "127.0.0.1", user "postgres", database
> "template1", SSL off.
>
> How do I proceed with this error. What are the things I need to change.

You have to read the doc about the hba-file first!
http://www.postgresql.org/docs/current/static/client-authentication.html

Usually you should not work as user postgres...

Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99