mysql死锁

-- 查询死锁
show open tables where In_use > 0
-- 查找进程然后kill
show PROCESSLIST;

  

原文地址:https://www.cnblogs.com/wanhua-wu/p/12066432.html