Postgresql
\l < list databases
create database:
CREATE DATABASE database;
delete database:
DROP DATABASE database;
grant admin to user on new db:
GRANT ALL PRIVILEGES ON DATABASE database TO user;
\l < list databases
create database:
CREATE DATABASE database;
delete database:
DROP DATABASE database;
grant admin to user on new db:
GRANT ALL PRIVILEGES ON DATABASE database TO user;
No Comments