setup/doc/postgres-create-db.md

240 B

Create Database with Postgres

  • create a new database database name and grant privileges to user name
sudo -u postgres psql
CREATE DATABASE <database name>;
GRANT ALL PRIVILEGES ON DATABASE <database name> to <user name>;
\q