show OPEN TABLES where In_use > 0;
show processlist
查询到相对应的进程===然后 kill id
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS;
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCK_WAITS;