Answers for "connect to user in postgres"

1

how to login using a particular user postrges

psql -d mydb -U myuser -W
psql -h myhost -d mydb -U myuser -W
Posted by: Guest on May-28-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

Code answers related to "connect to user in postgres"

Browse Popular Code Answers by Language