$ sudo su - postgres -c 'psql'
postgres=# create database <database name>;
postgres=# create user <user name> password '<password>';
postgres=# alter database <database name> owner to <user name>;
Created
May 28, 2016 07:28
-
-
Save Burning-Chai/2af4fcd9fab6abe64bece77a037729fd to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment