A stray ant can only move by itself

【MySQL】事务没有提交导致锁等待

【MySQL】事务没有提交导致 锁等待

Lock wait timeout exceeded异常的处理办法

1
select * from information_schema.innodb_trx;

之后找到了一个一直没有提交的事务。

kill 到了对应的线程后ok了。

查看所有的进程列表:

1
show processlist;
支付宝打赏 微信打赏

赞赏是不耍流氓的鼓励