Check out example codes for "mysql create database charset utf8mb4". It will help you in understanding the concepts better.

Code Example 1

CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci;

Code Example 2

CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;

Learn ReactJs, React Native from akashmittal.com