Below is the easy steps to create a MySQL database. You can create a MySQL database either using MySQL Command Line Client or use any MySQL graphical tools. if you are using Microsoft window, you can find GUI to from MySQL GUI tools for windows.
In this tutorial, I will use MySQL Workbench to do the database operations. Login to MySQL Workbench and use the below code to create MySQL database.
CREATE DATABASE database_name;
In the above query change the “database_name” as you want. I have created a database as “mysql_tutorial”, see the below MySQL query:
CREATE DATABASE mysql_tutorial;
Database “mysql_tutorial” created, now show the created database by using the below query.
You will see the “mysql_tutorial” database as you have created.