I need to connect to a single postgres database but I dont know the name of the database. How can I list names of available databases from the Linux terminal ?
Postgresql – How to get Postgres database name at Linux terminal
postgresql
Related Question
- Postgresql – Grant postgres superuser to linux account
- PostgreSQL – How to Restrict Access to Current User Record and Rights
- PostgreSQL – Consequences of Dropping or Changing the User Name for the Postgres DB Account
- How to Check List of Users in All PostgreSQL Databases
- HeidiSQL – How to Connect to Postgres Databases for the First Time?
- PostgreSQL – How to Get DO $$ to Work from the Bash Prompt
Best Answer
You can use:
This requires a login but you can use the same credentials as you would for connecting to the target database