sudo -u postgres psql -W CREATE DATABASE <database name>; GRANT ALL PRIVILEGES ON DATABASE <database name> to <user name>; \q