Mysql错误: ERROR 1205: Lock wait timeout exceeded; try restarting transaction

Posted 一粒小米

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mysql错误: ERROR 1205: Lock wait timeout exceeded; try restarting transaction相关的知识,希望对你有一定的参考价值。

mysql:innodb的事务锁,一个线程占用着,简单做法是:执行mysql命令: show full processlist;

然后找出查询语句的系统id:kill掉被锁住的线程id;kill 12321;

如果这样不好使,毙了狗,直接关掉集成运行环境,像phpstudy,wampserver这些集成包,

简单粗暴,搞定!

 


以上是关于Mysql错误: ERROR 1205: Lock wait timeout exceeded; try restarting transaction的主要内容,如果未能解决你的问题,请参考以下文章

Mysql错误: ERROR 1205: Lock wait timeout exceeded; try restarting transaction

ERROR 1205 (HY000): Lock wait timeout exceeded

ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction

ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction解决办法

ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction解决

执行 update操作的时候有报错 ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction