查询使用中的表:show OPEN TABLES where In_use > 0; 查询进程:show processlist; 看command,不是sleep就把id放到下面的sql中 结束进程(解锁):kill id