To create a database in MySQL, you use the CREATE DATABASE statement as follows: CREATE DATABASE [IF NOT EXISTS] database_name; CREATE DATABASE statement will create the database with the given name you specified. IF NOT EXISTS is an option part of the statement, this part prevents you from error if there is a database with(…)