Create user & database
Depending on your setup, might need to run sudo su -u postgres first.
createuser <user>
createdb <db>
psql -c "grant all privileges on database <db> to <user>;"
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Create user & database Depending on your setup, might need to run sudo su -u postgres first. createuser <user> createdb <db> psql -c "grant all privileges on database <db> to <user>;"
Depending on your setup, might need to run sudo su -u postgres first.
createuser <user>
createdb <db>
psql -c "grant all privileges on database <db> to <user>;"
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.