[mysqld]character-set-server=utf8mb4[mysql]default-character-set=utf8mb4
ALTER TABLE 表名 CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;