mysql create database with encoding code example
Example 1: create database mysql utf8
CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;
Example 2: mysql create database charset utf8mb4
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;