查看被锁住的表 show OPEN TABLES where In_use > 0; 查看进程以及关闭进程 show processlist; (查看锁表的进程-得到PROCESSID) kill pid;