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

From chris smith
Subject Re: jdbc pg_hba.conf error
Date
Msg-id 3c1395330705310624q793f8f82n8b8ba240e1acf195@mail.gmail.com
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 5/31/07, Bhavana.Rakesh <Bhavana.Rakesh@noaa.gov> wrote:
>
>  Ok,
>  I confirmed that I'm editing the right pg_hba.conf file.  I made sure that
> there are no other postmasters running.  I made sure that there is a user
> called 'brakesh'.  I restart the postmaster everytime I make any changes to
> pg_hba.conf file.  But still same results!
>
>  [brakesh@lnx383 ~/db_connect]$ psql -U brakesh -h 127.0.0.1 -d testing123
>  psql: FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "brakesh",
> database "testing123", SSL off
>
>
>  [brakesh@lnx383 ~/db_connect]$ psql -p 5000 testing123
>  Welcome to psql 7.4.17, the PostgreSQL interactive terminal.

Why are you specifying the port number when you don't include the host?

What happens if you do include the port:

psql -U brakesh -p 5000 -h 127.0.0.1 -d testing123

--
Postgresql & php tutorials
http://www.designmagick.com/

pgsql-general by date:

Previous
From: "Bhavana.Rakesh"
Date:
Subject: Re: jdbc pg_hba.conf error
Next
From: Ray Stell
Date:
Subject: Re: jdbc pg_hba.conf error