Last active
December 9, 2015 15:01
-
-
Save thuongdinh-agilityio/bb78329e8c78c5d246b2 to your computer and use it in GitHub Desktop.
postgresql_create_database_grant_user
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 -tAc "CREATE DATABASE jerry;" | |
sudo -u postgres psql -tAc "GRANT ALL PRIVILEGES ON DATABASE jerry to tom;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment