Relay log read failure错误解决

1、mysql版本
5.5.24

2、ip
10.1.1.1

3、查看下slave状态
mysql> show slave status\G;
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: 10.1.1.1
                  Master_User: repl
                  Master_Port: 1111
                Connect_Retry: 60
              Master_Log_File: 29.001312
          Read_Master_Log_Pos: 6783188
               Relay_Log_File: 10-relay-bin.006100
                Relay_Log_Pos: 93356016
        Relay_Master_Log_File: 29.001309
             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: 1594
                   Last_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master‘s binary log is corrupted (you can check this by running ‘mysqlbinlog‘ on the binary log), the slave‘s relay log is corrupted (you can check this by running ‘mysqlbinlog‘ on the relay log), a network problem, or a bug in the master‘s or slave‘s MySQL code. If you want to check the master‘s binary log or slave‘s relay log, you will be able to know their names by issuing ‘SHOW SLAVE STATUS‘ on this slave.
                 Skip_Counter: 1
          Exec_Master_Log_Pos: 365359563
              Relay_Log_Space: 372590271
              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: 1594
               Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master‘s binary log is corrupted (you can check this by running ‘mysqlbinlog‘ on the binary log), the slave‘s relay log is corrupted (you can check this by running ‘mysqlbinlog‘ on the relay log), a network problem, or a bug in the master‘s or slave‘s MySQL code. If you want to check the master‘s binary log or slave‘s relay log, you will be able to know their names by issuing ‘SHOW SLAVE STATUS‘ on this slave.
  Replicate_Ignore_Server_Ids: 
             Master_Server_Id: 2229
1 row in set (0.00 sec)
ERROR: 
No query specified

4、解决办法
stop slave;
change master to master_host=‘10.1.1.1‘,master_port=3306,master_log_file=‘29.001310‘,master_log_pos=1;
start slave;
show slave status\G;
时间: 2024-08-03 15:20:44

Relay log read failure错误解决的相关文章

解决Mysql复制Relay log read failure 的问题

一.问题描述 Mysql主从复制模式中,slave上报错 "relay log read failure",导致主从同步停止. mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Master_Host: 10.0.0.93 Master_User: slaveuser Master_Port: 3306 Connect_

MySQL从库不能同步,报错Relay log read failure

问题:MySQL从库的数据不能同步,从库SHOW SLAVE STATUS提示如下错误: Last_SQL_Error: Relay log read failure: Could not parse relay log event entry. The possible reasons are: the master's binary log is corrupted (you can check this by running 'mysqlbinlog' on the binary log)

Replication_Error:Relay log write failure:could not queue event from master

Mysql Version :5.6.16 OS Version :CentOS release 6.4 (Final) Replication:Master-Master  刚刚突然发现DB Master1(当前读写)磁盘满了,DB Master2(当前不对外提供写)replication 抛出异常:Relay log write failure:could not queue event from master,并且Slave_IO_Running: No. 当时第一个想到的解决办法是尝试在

Relay log read failure

[email protected] > show slave status\G*************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 10.38.153.53 Master_User: mysqlsync Master_Port: 3306 Connect_Retry: 60 Master_Log_Fil

windows 2012 IIS 部署 .net core HTTP Error 502.5 - Process Failure 错误解决办法

还是前天的那台服务器,.net fromwrok 环境装好了之后,开始部署Web系统,启动的时候提示 HTTP Error 502.5 - Process Failure : 根据以往的经验,这是没有安装core SDK引起的: 然后安装了对应的SDK文件,结果还这样: 尝试方法1:https://www.cnblogs.com/loui/p/7826073.html  [无效] 尝试方法2:https://www.jianshu.com/p/8a8396dabee6 [无效] 经过多方尝试之后

Eclipse 出现Some sites could not be found. See the error log for more detail.错误 解决方法

Eclipse 出现Some sites could not be found.  See the error log for more detail.错误 解决方法 Some sites could not be found.  See the error log for more detail.这话的意思是在设置的update的sites有问题,问题是无法发现或找到该site.这是因为我们在使用eclipse的help-->install new software的时候,添加安装路径有时会发

nginx的error.log日志常见的几个错误解决方法

nginx.conf里会有两个日志,分为access.log 和 error.log.其中这两个日志可以细化,一般来说在nginx目录下会有一个logs会保存,然后也可以在对应的server目录里可以分别的设定access.log和error.log来了解对应server的情况. access.log主要是记录"谁来登陆了,从哪里登陆的,登陆后发生了什么",具体格式可以在nginx.conf里设定. error.log主要记录的是检查nginx.conf里发现的错误,比如: "

使用AndroidStudio编译NDK的方法及错误解决方式

參考资料: [android ndk]macos环境下Android Studio中利用gradle编译jni模块及配置:http://demo.netfoucs.com/ashqal/article/details/21869151 ANDROID STUDIO, GRADLE AND NDK INTEGRATION:http://ph0b.com/android-studio-gradle-and-ndk-integration/ Gradle Plugin User Guide:http:

Linux 源码安装apache 与常见错误解决

文档原位置 一.编译安装apache 1.解决依赖关系 httpd-2.4.4需要较新版本的apr和apr-util,因此需要事先对其进行升级. 升级方式有两种,一种是通过源代码编译安装,一种是直接升级rpm包(谨慎!小心).下面是使用源代码的方式行,它们的下载路径为:(~_~)这里不再说到那里下载了,相信你有能力找的到的,呵呵 2.安装依赖的软件包(当然这里可以认为成需要的编译环境咯!) yum -y install pcre-devel yum -y install  "Developmen