mysql terminal create database code example
Example 1: create databaste mysql
mysql> CREATE DATABASE databaseName;
Example 2: create database terminal mysql
CREATE DATABASE dbname;
Example 3: mysql create database
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
Example 4: mysql create database
CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name
[create_option] ...
create_option: {
[DEFAULT] CHARACTER SET [=] charset_name
| [DEFAULT] COLLATE [=] collation_name
}