Thread: What will be the entry in pg_hba.conf to connect as LocalHost

What will be the entry in pg_hba.conf to connect as LocalHost

From
"shreedhar"
Date:
To Connct database as the following parameters.

host : 'localhost'
username : 'xxx'
password : 'xxx'
database : 'xx'

What will be the entry in pg_hba.conf

I gave the entry as
host  all 127.0.0.1 255.255.255.0 password.

Which is rejecting user xxx. User 'xxx' is already in pg_shadow.

Cheers,
Sreedhar Bhaskararaju 1,2nd Main Road, KottuGardens, Chennai - 600 085 Ph :
4475111 Email : shreedhar@lucidindia.net