更改数据库编码:
ALTER DATABASE caitu99 CHARACTER SET `utf8mb4` COLLATE `utf8mb4_bin`;
更改表编码:
ALTER TABLE `TABLE_NAME` CONVERT TO CHARACTER SET `utf8mb4` COLLATE `utf8mb4_bin`;
更改数据库编码:
ALTER DATABASE caitu99 CHARACTER SET `utf8mb4` COLLATE `utf8mb4_bin`;
更改表编码:
ALTER TABLE `TABLE_NAME` CONVERT TO CHARACTER SET `utf8mb4` COLLATE `utf8mb4_bin`;