Utilizor
Contact Us

SQL Create Database

Create a new database.

SQL CREATE DATABASE Statement

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

Syntax

CREATE DATABASE databasename;

Note: You need admin privileges to create a database. Make sure you have the necessary permissions before running this command.

After creating a database, you can check it in the list of databases with: SHOW DATABASES;