Answers for "Creating user, database and adding access on PostgreSQL"

0

How do I add a user to a postgres database? cli

GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
Posted by: Guest on June-16-2020
0

Make a user in Postgresql

CREATE USER jonathan;
CREATE USER davide WITH PASSWORD 'jw8s0F4';
CREATE USER miriam WITH PASSWORD 'jw8s0F4' VALID UNTIL '2005-01-01';
CREATE USER manuel WITH PASSWORD 'jw8s0F4' CREATEDB;
Posted by: Guest on July-05-2021
0

How do I add a user to a postgres database? cli

psql=# grant all privileges on database <dbname> to <username>
Posted by: Guest on June-16-2020

Code answers related to "Creating user, database and adding access on PostgreSQL"

Browse Popular Code Answers by Language