Re: [GENERAL] FATAL: no pg_hba.conf entry for host “::1***" - Mailing list pgsql-general

From John R Pierce
Subject Re: [GENERAL] FATAL: no pg_hba.conf entry for host “::1***"
Date
Msg-id 4D64B29B.9000405@hogranch.com
Whole thread Raw
In response to FATAL: no pg_hba.conf entry for host “::1***"  (itishree sukla <itishree.sukla@gmail.com>)
Responses Re: [GENERAL] Re: [GENERAL] FATAL: no pg_hba.conf entry for host “::1***"  (itishree sukla <itishree.sukla@gmail.com>)
List pgsql-general
On 02/22/11 10:38 PM, itishree sukla wrote:
> Hi  All,
> I am using System DSN,  that connects to postgreSQL, to fetch data
> from the database, and put into xls sheet .Its working fine with most
> of the machines and connects fine but on 1 machine i am getting  this
> FATAL: no pg_hba.conf entry for host “::1******”, user “postgres”,
> database “myDatabase", SSL off error. Any idea why it is  so, please
> suggest.
> Thanks in  advance ...
>

::1 is the IPv6 localhost.  sounds like this system has ipv6 configured,
so you probably want a line in pg_hba.conf like...


hosts  all all ::1   md5

(replace the md5 with whatever you normally use on the localhost linet
hat looks like

hosts all all 127.0.0.0/8  md5

the other common value is 'trust'.   md5 requires a password, trust doesn't.






pgsql-general by date:

Previous
From: itishree sukla
Date:
Subject: FATAL: no pg_hba.conf entry for host “::1***"
Next
From: Amitabh Kant
Date:
Subject: Partitions and indexes