Created
January 18, 2016 22:25
-
-
Save parambirs/7a8437d420fca81b6021 to your computer and use it in GitHub Desktop.
Create postgres user
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
| % cd /usr/local/Cellar/postgresql/9.4.5_2/bin | |
| # -d user can create databases | |
| # -P prompt for user password | |
| # -E encrypt user's password | |
| % createuser -d -P -E db_user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment