mysql 锁表查询及其处理

1.show OPEN TABLES where In_use > 0;

2.show processlist;

3.kill thread_id;

其中 thread_id为processlist的ID

原文地址:https://www.cnblogs.com/yako/p/3782824.html