MySQL CREATE DATABASE

CREATE DATABASE SYNTAX

Below is the Basic Syntax for Creating a Database in MySQL

Where DataBaseName is the name of the Database which you would like to create

CREATE DATABASE EXAMPLE

Execute the following script to Create a MySQL DataBase with name DemoDatabase

VERIFICATION

To verify whether the above script execution has created the Database DemoDatabase, you can execute the following statement. This statement basically lists all the databases in the MySQL instance

RESULT:
show-databases-result
CLEANUP ACTIVITY

Let us rollback the changes made to the MySQL in this Tutorial by executing the following script in MySQL

Leave a Reply

Your email address will not be published. Required fields are marked *