Created
June 1, 2015 09:49
-
-
Save sunloverz/c86821da14d8fdd0c4fa to your computer and use it in GitHub Desktop.
Create user and database in postgresql
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 -u postgres psql | |
postgres=# create user "guy_on_stackoverflow" with password 'keepitonthedl'; | |
postgres=# create database "dcaclab_development" owner "guy_on_stackoverflow"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment