Created
November 11, 2012 08:13
-
-
Save sdoro/4054136 to your computer and use it in GitHub Desktop.
Reset user name "postgres" password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su - postgres | |
psql | |
ALTER USER postgres with password 'new-password'; | |
\q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
before trying the above gist you must start postgres service with: