Last active
June 23, 2024 04:51
-
-
Save TheBoroer/5075799ab28b04f9d5fe3de0933465de to your computer and use it in GitHub Desktop.
Postgres: create db, create user, add user to db
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
CREATE database database_name_here; | |
CREATE user username_here with encrypted password 'password_here'; | |
GRANT ALL privileges on database database_name_here to username_here; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment