
mysql事务未提交导致锁等待如何解决
1、实验环境 Myql版本5.7.17-log 实验表结构 (root@localhost)[apex]> show create table test; +-------+----------...
1、实验环境 Myql版本5.7.17-log 实验表结构 (root@localhost)[apex]> show create table test; +-------+----------...
找出未提交的MySQL线程/事务: SELECT * from information_schema.processlist; 这个能看到上面哪个SQL线程ID(下图的378号线程就是造成MDL锁的罪魁祸首) SELECT t...