Last active
August 10, 2017 19:46
-
-
Save jackbravo/e4194c03692fb1420cc8ec7a05737ad0 to your computer and use it in GitHub Desktop.
postgres dev start
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
createuser -Psd guia | |
createdb -O guia guia | |
# psql | |
# alter user guia with encrypted password 'guia'; -- not needed if using -P (prompt password) | |
# grant all privileges on database guia to guia ; -- not needed if using createdb -O (give ownership) | |
# alter user guia createdb ; -- not needed if using -d in createuser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment