Postgres

sudo -u postgres psql postgres
create user <user name> with password '<password>';
CREATE DATABASE <db name>;
grant all privileges on database <db name> to <user name>;

Postgres