MySQL Create DB

Creating a database.

MySQL CREATE DATABASE Statement

The CREATE DATABASE statement is used to create a new SQL database.

Syntax

CREATE DATABASE databasename;

Make sure you have admin privileges before creating any database. Once a database is created, you can check it in the list of databases with the SHOW DATABASES; command.

Example

CREATE DATABASE myDB;