on-internet
← Community

Postgresql: Edit pg_hba.conf to allow trust authorization temporarily

Stack Overflow ·

I Forgot my postgres password so I can't connect to the DB, I found those steps : edit pg_hba.conf to allow trust authorization temporarily Reload the config file (pg_ctl reload) Connect and issue ALTER ROLE / PASSWORD to set the new password edit pg_hba.conf again and restore the previous settings Reload the config file again I'm trying to follow but I'm stuck at step one. What should I change in pg_hba.conf to allow trust authorization temporarily.

Comments

Sign in or sign up to comment and upvote.

No comments yet.