Articles
Tags
About
How to access postgreSQL in CLI
¶
Assumption:
item
value
postgreSQL server
localhost:5432
username
user1
password
pass1
database
db1
Command:
PGPASSWORD=pass1 psql -h localhost -p 5432 -U user1 -d db1
Posted on 2022-03-22
Mail to author
Navigator
Root
Related Articles
JSON_AS_ASCII no longer works after upgrading Flask
Increase line width limit to python code when using VS Code and flake8
Get rid of annoying warnings like F403 and F405 when using VS Code and flake8
Related Tags
sql