时间:2021-07-01 10:21:17 帮助过:19人阅读
修改数据库
alter table t_repair convert to character set utf8mb4;
修改数据表
ALTER TABLE t_repair CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
ALTER TABLE t_tel_department CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
显示数据表
SHOW FULL COLUMNS FROM t_repair;
显示MySQL设置
SHOW VARIABLES WHERE Variable_name LIKE ‘character\_set\_%‘ OR Variable_name LIKE ‘collation%‘;
mysql命令
标签:character rac table 显示 air mysql命令 column ike art