Created
August 3, 2012 07:12
-
-
Save MirkoCindric/3245294 to your computer and use it in GitHub Desktop.
Setting up users on Postgres
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
psql template1 | |
CREATE USER develop WITH PASSWORD 'develop'; | |
CREATE USER postgres WITH PASSWORD 'postgres'; | |
CREATE USER test WITH PASSWORD 'test'; | |
ALTER USER develop CREATEUSER CREATEDB; | |
ALTER USER test CREATEUSER CREATEDB; | |
ALTER USER postgres CREATEUSER CREATEDB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment