MySQL无法执行update、delete操作,表被锁死

select * from information_schema.innodb_trx;   ##当前运行的所有事务
 
select * from information_schema.innodb_locks;  ## 当前出现的锁
 
SELECT * FROM information_schema.innodb_lock_waits;  ##锁等待的对应关系
 
 
kill 3869638;   ##杀掉被锁的线程

 

posted @ 2024-05-20 14:57  ___mouM  阅读(20)  评论(0编辑  收藏  举报