查询mysql 哪些表正在被锁状态 show OPEN TABLES where In_use > 0; show processlist; show full processlist; kill id //杀掉被锁的表