Created
July 12, 2012 17:20
-
-
Save joshdholtz/3099459 to your computer and use it in GitHub Desktop.
Postgres Database Setup
This file contains hidden or 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 -f setup.sql -U username postgres | |
| CREATE USER dbusername WITH PASSWORD 'password'; | |
| CREATE DATABASE dbname; | |
| GRANT ALL PRIVILEGES ON DATABASE dbname to dbusername; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment