ITPub博客

首页 > 数据库 > MySQL > mysql故障排查

mysql故障排查

原创 MySQL 作者:coolandbright 时间:2016-04-15 17:23:57 0 删除 编辑

mysql -h**** -u*** -p*** -P3306 ***


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

Solution: Add / modify the parameter TransactionDeadlockDetectionTimeout in config.ini
Default value = 1200 milliseconds
Changed the value to TransactionDeadlockDetectionTimeout=15000
The timeout parameter states how long the transaction coordinator waits for the query execution by another node before aborting the transaction and is important for both node failure handling and deadlock detection.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29665621/viewspace-2082005/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: mysql开窗函数
请登录后发表评论 登录
全部评论

注册时间:2014-05-19

  • 博文量
    14
  • 访问量
    19914