时间:2021-07-01 10:21:17 帮助过:22人阅读
-- 查看被锁住的
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS;
-- 等待锁定
SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCK_WAITS;
-- 查看事务
SELECT * FROM INFORMATION_SCHEMA.INNODB_TRX;
-- 杀掉trx_mysq_thread_id
kill 25496;
mysql事务锁表
标签:mysql事务 from sch for ati mysq kill innodb mys