步骤1:查询表死锁的sql语句:
SELECT * FROM information_schema.PROCESSLIST where length(info) >0 ;
或
SELECT * FROM information_schema.INNODB_TRX;
步骤2:删除 kill "对应的线程id"
步骤1:查询表死锁的sql语句:
SELECT * FROM information_schema.PROCESSLIST where length(info) >0 ;
或
SELECT * FROM information_schema.INNODB_TRX;
步骤2:删除 kill "对应的线程id"