sudo su - postgres
psql





CREATE USER geoint WITH PASSWORD 'gepoint';



CREATE DATABASE m3db;
ALTER ROLE geoint SET client_encoding TO 'utf8';
ALTER ROLE geoint SET default_transaction_isolation TO 'read committed';
ALTER ROLE geoint SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE m3db TO geoint;

DROP DATABASE [ IF EXISTS ] name

