查看那个表锁了
SHOW OPEN TABLES where In_use > 0;
show processlist
SELECT * FROM information_schema.INNODB_TRX;
查看锁的进程
kill 掉进程id (trx_mysql_thread_id)
查看那个表锁了
SHOW OPEN TABLES where In_use > 0;
show processlist
SELECT * FROM information_schema.INNODB_TRX;
查看锁的进程
kill 掉进程id (trx_mysql_thread_id)