use database command in mysql code example
Example 1: mysql go into database
USE dbname;
Example 2: mysql database create
mysql> CREATE DATABASE databasename;
Example 3: how to create database using cmd mysql
CREATE DATABASE [IF NOT EXISTS] database_name
[CHARACTER SET charset_name]
[COLLATE collation_name]