mysql create database charset utf8mb4
snippet in sql

create database mysql utf8

user4292

CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;

mysql create database charset utf8mb4

user7895

CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;