CREATE DATABASE hello_dev;
CREATE USER devel WITH ENCRYPTED PASSWORD 'devel';
GRANT ALL PRIVILEGES ON DATABASE hello_dev TO devel;
ALTER USER devel CREATEDB;
# Also pg_hba.conf
local all devel md5
Last active
November 21, 2018 19:10
-
-
Save koolquark/befa629a38aeaf35b6f6c8d47a77cf67 to your computer and use it in GitHub Desktop.
Postgresql Create Database and User
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment