Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Postgres

Johannes Kvamme edited this page Jan 26, 2019 · 2 revisions

How to set up psql database.

$ psql -U postgres
CREATE DATABASE bachelor;
\c bachelor;
CREATE ROLE bachelor_usr;
GRANT ALL PRIVILEGES ON DATABASE bachelor TO bachelor_usr;
ALTER ROLE bachelor_usr PASSWORD '';
ALTER ROLE bachelor_usr WITH LOGIN:
Clone this wiki locally