Answers for "connect postgresql cli"

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
0

postgresql connect to database command line

user@user-pc:~$ sudo -i -u postgres
postgres@user-pc:~$ psql
psql (9.3.5, server 9.3.6)
Type "help" for help.
Posted by: Guest on February-18-2021

Browse Popular Code Answers by Language