DEV Community

Cover image for How to start with PostgreSQL
Aman Sharma
Aman Sharma

Posted on

 

How to start with PostgreSQL

You can refer to the below youtube link for better understanding.

https://youtu.be/nuVYte2Mu9Y

Commands are -

sudo -u postgres psql

CREATE DATABASE yourdbname;
CREATE USER youruser WITH ENCRYPTED PASSWORD 'yourpass';
GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;

Top comments (0)

Super Useful CSS Resources

A collection of 70 hand-picked, web-based tools which are actually useful.
Each will generate pure CSS without the need for JS or any external libraries.