Re: pg_hba.conf - Mailing list pgsql-general

From A. Kretschmer
Subject Re: pg_hba.conf
Date
Msg-id 20100803070047.GD15342@a-kretschmer.de
Whole thread Raw
In response to pg_hba.conf  (quickinfo quickinfo <quickinfo123@gmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: quickinfo quickinfo
Date:
Subject: pg_hba.conf
Next
From: Sim Zacks
Date:
Subject: optimal memory