Last active
January 15, 2021 12:35
-
-
Save simonthompson99/d3dedbcddf4ce8db610c02901bf5d122 to your computer and use it in GitHub Desktop.
[Create new db on local postgres] Adds a new database to local postgres installation #sql #database #genomics_england
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 postgres -U simonthompson | |
| create database <db_name>; | |
| grant all privileges on database <db_name> to simon; | |
| grant all privileges on database <db_name> to cdt_user; | |
| \q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment