码迷,mamicode.com
首页 > 数据库 > 详细

mysql Lock wait timeout exceeded

时间:2014-10-01 01:37:21      阅读:385      评论:0      收藏:0      [点我收藏+]

标签:database   occurred   involve   nested   setting   

MySQL 事务没有提交导致 锁等待 Lock wait timeout exceeded

java.lang.Exception:
### Error updating database.  Cause: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### Cause: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction
; SQL []; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction

select * from information_schema.innodb_trx 

这里可以查看当前的被锁信息


mysql Lock wait timeout exceeded

标签:database   occurred   involve   nested   setting   

原文地址:http://3876775.blog.51cto.com/3866775/1559712

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!