Mysql从站被卡住,sql和io显示为是

Mysql从站被卡住,sql和io显示为是,mysql,Mysql,请帮助我解决以下有关奴隶的问题 mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: isp-db-mysql-1.be.infra Mast

请帮助我解决以下有关奴隶的问题

mysql> show slave status\G
*************************** 1. row ***************************
               Slave_IO_State: Waiting for master to send event
                  Master_Host: isp-db-mysql-1.be.infra
                  Master_User: slave
                  Master_Port: 3306
                Connect_Retry: 60
              Master_Log_File: isp-db-mysql-1.052619
          Read_Master_Log_Pos: 3138691
               Relay_Log_File: isp-db-mysql-1-relay-bin.000002
                Relay_Log_Pos: 32861
        Relay_Master_Log_File: isp-db-mysql-1.052556
             Slave_IO_Running: Yes
            Slave_SQL_Running: Yes
              Replicate_Do_DB:
          Replicate_Ignore_DB:
           Replicate_Do_Table:
       Replicate_Ignore_Table:
      Replicate_Wild_Do_Table:
  Replicate_Wild_Ignore_Table:
                   Last_Errno: 0
                   Last_Error:
                 Skip_Counter: 0
          Exec_Master_Log_Pos: 8109731
              Relay_Log_Space: 6642282995
              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: 1111111
Master_SSL_Verify_Server_Cert: No
                Last_IO_Errno: 0
                Last_IO_Error:
               Last_SQL_Errno: 0
               Last_SQL_Error:
1 row in set (0.01 sec)
继电器日志位置未移动,导致从机滞后,如上所示

我试着拉日志我犯了这个错误

@mysqlbinlog未知变量“默认字符集=utf8”

在my.cnf中,binlog模式是混合模式

我试着停止奴隶,启动奴隶。。 什么都没用

需要快速帮助,这是prod上的一个问题:-(


将master更改为changed log,pos是唯一的解决方法?

检查mysql日志。应该有错误。任何错误都将停止复制


您可以通过告诉复制忽略错误来快速解决此问题,但这可能会导致复制不一致!请查看此帖子:

You what?请格式化您的代码…我也有同样的问题,没有错误,只有“警告”都在mysql日志中,但是很明显我们还在等待一条语句,因为我们还在等待…嗨,谢谢你的回复。你要求跳过错误。但是如果你清楚地看到上面的状态,slave没有因为任何错误而停止。它被卡在一个特定的位置,并且它没有从tat位置移动,sql和io都显示为是。所以wat可能是问题。这是MySQL,任何东西都可能是问题。因此,我要求您检查MySQL日志。