mysql create a database command line code example
Example 1: create database terminal mysql
CREATE DATABASE dbname;
Example 2: mysql create database
CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name
[create_option] ...
create_option: {
[DEFAULT] CHARACTER SET [=] charset_name
| [DEFAULT] COLLATE [=] collation_name
}