Re: jdbc pg_hba.conf error

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "Bhavana(dot)Rakesh" <Bhavana(dot)Rakesh(at)noaa(dot)gov>
Cc: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, pgsql_general <pgsql-general(at)postgresql(dot)org>, jdbc <pgsql-odbc-owner(at)postgresql(dot)org>
Subject: Re: jdbc pg_hba.conf error
Date: 2007-05-30 16:35:20
Message-ID: 20070530163520.GB18387@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Elphick 2007-05-30 16:41:14 Re: jdbc pg_hba.conf error
Previous Message Bhavana.Rakesh 2007-05-30 16:30:38 Re: jdbc pg_hba.conf error