Skip to content

Instantly share code, notes, and snippets.

@jackbravo
Last active August 10, 2017 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackbravo/e4194c03692fb1420cc8ec7a05737ad0 to your computer and use it in GitHub Desktop.
Save jackbravo/e4194c03692fb1420cc8ec7a05737ad0 to your computer and use it in GitHub Desktop.
postgres dev start
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