今天遇到mysql报错:

Slave_IO_Running: Yes
Slave_SQL_Running: No
Replicate_Do_DB:
Replicate_Ignore_DB:
Replicate_Do_Table:
Replicate_Ignore_Table:
Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
Last_Errno: 1205
Last_Error: Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction_retries variable.
Skip_Counter: 0
Exec_Master_Log_Pos: 204441882
Relay_Log_Space: 162909204
Until_Condition: None
Until_Log_File:
Until_Log_Pos: 0
Master_SSL_Allowed: No
Master_SSL_CA_File:
Master_SSL_CA_Path:
Master_SSL_Cert:
Master_SSL_Cipher:
Master_SSL_Key:
Seconds_Behind_Master: NULL
Master_SSL_Verify_Server_Cert: No
Last_IO_Errno: 0
Last_IO_Error:
Last_SQL_Errno: 1205
Last_SQL_Error: Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction_retries variable.
Replicate_Ignore_Server_Ids:
Master_Server_Id: 2

error.log

2018-07-05T02:18:00.648716Z 1752962 [ERROR] Slave SQL for channel '': Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of the slave_transaction
_retries variable. Error_code: 12052018-07-05T02:18:00.648741Z 1752962 [Warning] Slave: Lock wait timeout exceeded; try restarting transaction Error_code: 1205
2018-07-05T02:18:00.648746Z 1752962 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at log 'mysql2-bi
n.000242' position 204441882

解决办法:

start slave;

转载于:https://www.cnblogs.com/yangxiaochu/p/9269377.html

Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the value of t相关推荐

  1. Last_Error: Slave SQL thread retried transaction 10 time(s) in vain, giving up. Consider raising the

    1.版本 1)操作系统 cat /etc/issue Red Hat Enterprise Linux Server release 5.5 (Tikanga) Kernel \r on an \m ...

  2. Last_Error: Slave SQL thread retried transaction 10 time(s) in vain, giving up导致主从不同步的解决方法

    mysql版本:5.6.34 在主库上做了大事务的delete,从库报Last_Error: Slave SQL thread retried transaction 10 time(s) in va ...

  3. Java开发者写SQL时常犯的10个错误

    首页 所有文章 资讯 Web 架构 基础技术 书籍 教程 我要投稿 更多频道 » - 导航条 -首页所有文章资讯Web架构基础技术书籍教程我要投稿更多频道 »- iOS- Python- Androi ...

  4. 翻译:SQL Server中的索引内部结构:到SQL Server索引级别10的阶梯。

    SQL Server中的索引内部结构:到SQL Server索引级别10的阶梯. 大卫•杜兰特2012/01/20 该系列 本文是楼梯系列的一部分:SQL Server索引的阶梯. 索引是数据库设计的 ...

  5. 数据库:学好SQL必须知道的10个高级概念

    今天给大家分享学好SQL必须知道的10个高级概念. 1.常见表表达式(CTEs) 如果您想要查询子查询,那就是CTEs施展身手的时候 - CTEs基本上创建了一个临时表. 使用常用表表达式(CTEs) ...

  6. 解决mysql主从 The slave IO thread stops because the master has @@GLOBAL.GTID_MODE OFF and this server

    mysql主从出现的报错 [报错信息] 初始状态Master和Slave都开启了enforce-gtid-consistency和gtid-mode,然后在Master上把它俩都改动成了off关闭状态 ...

  7. [ERROR] Slave SQL for channel ‘‘: Could not execute Write_rows event on table xxx.xxx; Duplicate ent

    环境:centos7 , MySQL5.7一主一从 背景:从上用xtrabackup物理恢复后,感觉gtid相差不大,直接change master to master_host........ 问题 ...

  8. Sams Teach Yourself Microsoft SQL Server T-SQL in 10 Minutes

    版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章原始出版.作者信息和本声明.否则将追究法律责任. http://blog.csdn.net/topmvp - topmvp Sams Te ...

  9. [28000][Microsoft][SQL server native client 10.0][SQL server]用户‘sa’登录失败。(18456)

    用native远程连接SQL server数据库提示:[28000][Microsoft][SQL server native client 10.0][SQL server]用户'sa'登录失败.( ...

最新文章

  1. tomcat JRE_HOME
  2. MySQL中引入存储引擎意义是_mysql学习九:存储引擎、存储过程和函数的引入
  3. qpython获取手机gps_基于Python获取照片的GPS位置信息
  4. dll可以在linux下使用吗_Linux下使用rm删除文件,并排除指定文件
  5. windows下使用Nginx服务器实现负载均衡方法
  6. 扒开医院的围墙,互联网怎么个战法?
  7. 【HDOJ7055】Yiwen with Sqc(字符串,区间出现次数平方和,两次差分)
  8. 智乃的01串打乱(思维+暴力)
  9. python logging打印终端_python中那些小众但有用的自带标准库
  10. Docker EE 2.0 版本震撼来袭,全新特性先睹为快(附资源地址)
  11. 【软件工程导论】期末复习试题集
  12. Word去除段前黑点
  13. 中学生心理测试系统软件,学校心理测评软件
  14. 2019 360校招笔试- 编程题 -2018.08.27
  15. xbox手柄适配器驱动_修复XBox DVD驱动器
  16. 浅谈Docker的安全性支持(上篇)
  17. 安徽农村信用社网银转账显示服务器无响应,农村信用社企业网银转账显示状态无效是怎么回事...
  18. 讨厌程序员_我是程序员但讨厌编程
  19. 【光通信】Wi-Fi联盟——Wi-Fi 7与Wi-Fi 6相比到底有哪些变化
  20. stylegan2通过操纵潜变量进行人脸编辑方法

热门文章

  1. 洛谷3月月赛 R1 Step! ZERO to ONE
  2. 方配网站服务器,方配网站服务器
  3. C51模拟PS2键盘(一)
  4. 002_韦东山嵌入式Linux应用开发基础_实操碰到的问题集锦
  5. Hbase设置数据过期时间
  6. System.Diagnostics.Process.Start 用法
  7. 成都有什么好的互联网公司推荐?
  8. 设置textview字体样式
  9. 炫酷3D相册❤ 520七夕情人节表白网页制作❤(HTML+CSS+JavaScript)
  10. 存储圈装逼必上TOP 10网站