事务未提交会提示:Lock wait timeout exceeded; try restarting transaction等待超时。
在mysql查询中执行以下指令
select * from information_schema.innodb_trx

用kill 杀死对应的线程id即可
事务未提交会提示:Lock wait timeout exceeded; try restarting transaction等待超时。
在mysql查询中执行以下指令
select * from information_schema.innodb_trx
用kill 杀死对应的线程id即可
本文标题:事务未提交解决方法
本文链接:https://www.haomeiwen.com/subject/ftmknftx.html
网友评论