Database act as a container, in which we can store tables. To create a database type the following command.
CREATE DATABASE database_name;
To Open/Select a Database
USE demo;
Show the list of existing databases on the MySQL server, you can execute the following statement:
SHOW DATABASES;