After connecting to PostgreSQL with psql, you can list all databases with the following command.
To connect to PostgreSQL and create a database, you may want to read the articles named
“How To Connect To Database On PostgreSQL” and
“How To Create Database On PostgreSQL“.
1 |
\l |