PostgreSQL
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>;"