Answers for "how to login to postgres using terminal"

1

how to access postgres CLI

# User postgres is default. It then may ask you for password. 
psql -U postgres
Posted by: Guest on January-21-2021
3

how to connect postgres user password using command line

sudo -u postgres psql postgres
Posted by: Guest on October-04-2020
1

postgresql cli login

psql -d mydb -U myuser -W
psql -h myhost -d mydb -U myuser -W
Posted by: Guest on May-28-2020

Code answers related to "how to login to postgres using terminal"

Browse Popular Code Answers by Language