Answers for "how to access postgres from command line"

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
1

access the postgres psql

psql -h localhost -U username databasename
Posted by: Guest on August-05-2020

Code answers related to "how to access postgres from command line"

Browse Popular Code Answers by Language