Wednesday, August 11, 2010

~org.postgresql.util.PSQLException: Connection rejected: FATAL: Ident authentication failed for user "username"

This occur when user have not sufficient permission to access the database

to avoid this problem to happen modify the pg_hba.conf file as per detail given below

# TYPE DATABASE USER CIDR-ADDRESS METHOD

host all all 127.0.0.1/32 trust

hopes this will work.
Good luck !!

No comments:

Post a Comment