mysql creates a database and specifies a character set

CREATE DATABASE `data_test` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

Create the database "data_test", and specify the character set: utf8mb4, collation: utf8mb4_general_ci
insert image description here

Guess you like

Origin blog.csdn.net/w1871331217/article/details/127527535