首页 > 数据库技术 > 详细

mysql Lock wait timeout exceeded

时间:2014-09-30 23:58:31      阅读:708      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!