loading...
Cover image for How to start with PostgreSQL

How to start with PostgreSQL

amannvl profile image Aman Sharma ・1 min read

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;

Discussion

pic
Editor guide