查看引擎状态(包括锁、事务、回滚情况等信息)

SHOW ENGINE INNODB STATUS\G

查看进程

show processlist;
# 查看完整的SQL
show full processlist

修改字段字符集

ALTER table xx_table Modify column xx_name varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci

Copyright © 运维知识库 all right reserved,powered by Gitbook文件修订时间: 2024-07-10 16:23:52

results matching ""

    No results matching ""