查询被锁的表:show OPEN TABLES where In_use > 0;
查询当前运行的所有事务:select * from information_schema.INNODB_TRX;
查询进程列表:show processlist;
杀死进程:kill 18626101; -- kill 进程id
查询被锁的表:show OPEN TABLES where In_use > 0;
查询当前运行的所有事务:select * from information_schema.INNODB_TRX;
查询进程列表:show processlist;
杀死进程:kill 18626101; -- kill 进程id
尽职尽责