Create PostgreSQL user and database

su - postgres
psql
CREATE ROLE project_username WITH LOGIN PASSWORD 'YourSecretPassword' VALID UNTIL 'infinity';
CREATE DATABASE project_database WITH ENCODING='UTF8' OWNER=project_username CONNECTION LIMIT=-1;
\q
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on whatsapp