PostgreSQL DBA part2 :-How to connect postgresql database
A.Connecting postgresql locally using port Please identify port in postgresql.conf under /opt/edb/as9.6/data and connect using psql There are pre-requisites for allowing local connection.This pg_hba.conf file is under /opt/edb/as9.6/data.Please make sure last parameter should be md5 not peer. The below content is for example what should be in pg_hba.conf # “local” is for Unix domain socket connections only local all all md5 # […]