Install and configure PostgreSQL task failed

Hi @Inderpreet @kodekloud-support3,

Can you please assist in the below and confirm what is the issue faced … where did I went wrong?

https://kodekloud.com/community/t/install-configure-postgresql-task/2470/5?u=kleansoul

pg_hba.conf

host	kodekloud_db8	kodekloud_roy	127.0.0.1/32	md5
host	kodekloud_db8	kodekloud_roy	::1/128		md5

@kleansoul you updated hba conf for host connections which worked in your test, however as per question it is asked to enable that for all local clients so for example if you could test the DB connectivity using correct username and password through root user you would have find that its not working as hba conf needs to be updated for local connections to use md5 auth,

1 Like