Advertisement

Google Ad Slot: content-top

MySQL Create DB


MySQL CREATE DATABASE Statement


The CREATE DATABASE statement in MySQL is used to create a new database where tables and other database objects can be stored.


Syntax


CREATE DATABASE database_name;


  • database_name is the name of the new database.


CREATE DATABASE Example


Create a database named school_db:


Example
CREATE DATABASE school_db;