Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to create a new user in postgresql

CREATE DATABASE yourdbname;CREATE USER youruser WITH ENCRYPTED PASSWORD 'yourpass';GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #create #user #postgresql
ADD COMMENT
Topic
Name
2+7 =