死锁的排查

JVM锁:

jmate

MySql锁:

1、查询有哪些再用的表被锁了

show open tables where in_use = 0;

2、被锁的这些表中如果有你要使用的表,那么释放。

unlock tables;
原文地址:https://www.cnblogs.com/cuiqq/p/12272706.html