PostgreSQL – CREATE Database

PostgreSQL CREATE DATABASE – using SQL Shell

Start the SQL Shell (psql) and run the following SQL Query.

</>
Copy
CREATE DATABASE mydb;

where  mydb is the database name that we are creating now.