authentication error

From: jie zhang <jie(at)best(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: authentication error
Date: 2003-05-14 19:35:11
Message-ID: 3EC29A6F.5080307@best.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I try to connect using psql test from localhost. I got:
FATAL 1: No pg_hba.conf entry for host localhost, user postgres,
database test

I double checked that I have done the following:
I started server using: postmaster -i -D /var/lib/pgsql/data >logfile
2>&1 &

In my pg_hba.conf file I have:
host all 127.0.0.1 255.255.255.0 trust
local all reject

Are there anything else I need to do ? or anything I did wrong ?
I try to force the connection go through tcp/ip.
Please advice if you can.

thanks in advance,

Jie

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gémes Géza 2003-05-14 20:24:15 Re: authentication error
Previous Message Tom Lane 2003-05-14 18:59:33 Re: Trying to profile a function, but weird stuff happens