IF you get an error given below
FATAL 1: IDENT authentication failed for user "postgres"'
Do the following to fix it.
# vi /var/lib/pgsql/data/pg_hba.conf
Add the line
host all 127.0.0.0 255.255.255.255 trust
:wq // save the file
The /var/lib/pgsql/data/pg_hba.conf will look like this.
# TYPE DATABASE USER CIDR-ADDRESS METHOD
#local all all ident sameuser
host all all 127.0.0.1/32 trust
# service postgresql restart
No comments:
Post a Comment