Created
May 4, 2018 05:03
-
-
Save vivekrk1992/9922a893bb6c9291dfadedd68299c481 to your computer and use it in GitHub Desktop.
Create role and user in postgres
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
``` | |
psql -h localhost -d dummy; | |
``` | |
``` | |
dummy=# create role ammaindia with CREATEDB CREATEROLE CREATEUSER LOGIN PASSWORD 'ammaindia'; | |
``` | |
``` | |
create database dabase_name owner ammaindia | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment