create database database character set utf8 collate utf8_general_ci code example
Example 1: create database mysql utf8
CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;
Example 2: mysql create database utf8
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;