Re: jdbc pg_hba.conf error - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: jdbc pg_hba.conf error
Date
Msg-id 20070530163520.GB18387@svana.org
Whole thread Raw
In response to Re: jdbc pg_hba.conf error  ("Bhavana.Rakesh" <Bhavana.Rakesh@noaa.gov>)
Responses Re: jdbc pg_hba.conf error
List pgsql-general
On Wed, May 30, 2007 at 12:30:38PM -0400, Bhavana.Rakesh wrote:
> Oliver,
>
> When I do a :
>                    psql -p 5000 testing123
> I can make a connection.  However, when I do a
>
>     psql -U brakesh -h 127.0.0.1 -d testing123
>
> I get the followign error:
>
> psql: FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "brakesh",
> database "testing123", SSL off

Ofcourse, the first connection is a local connection, which you
obviously have configured. The latter connects to localhost, which you
havn't configured.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Attachment

pgsql-general by date:

Previous
From: "Bhavana.Rakesh"
Date:
Subject: Re: jdbc pg_hba.conf error
Next
From: Oliver Elphick
Date:
Subject: Re: jdbc pg_hba.conf error