Sample Header Ad - 728x90

Forgotten PostgreSQL Windows password

43 votes
3 answers
216547 views
This morning I’ve been trying to connect the PostgreSQL database on my Windows 7 Professional desktop. The default value is ‘postgres’, but sure enough I forgot what password I used when I originally installed it. I have googled and found a [post](http://www.postgresql.org/message-id/6BCB9D8A16AC4241919521715F4D8BCE476A42@algol.sollentuna.se) related to resetting your password. I followed the steps, but the end result is a bit different then mentioned in the post. I used— net user postgres postgres to reset the password for my database but instead of a success message I am getting: > "System error 5 has occurred. Access is denied." system error. How do I avoid this error and reset the password?
Asked by AKIWEB (625 rep)
Jun 14, 2013, 07:43 PM
Last activity: Mar 23, 2020, 07:22 AM