Install & Configure Postgresql

I have installed Postgresql 12 version and created user and database as required. Also done change in /var/lib/pgsql/12/data/pg_hba.conf file where i changed the peer to md5 in local section. But when tried to connect to database getting error.

Can someone please help why i am getting this error ?

For Tutorial/Solution - Content made for sole reason to help the community.

1 Like