0

I have a master-slave configuration. The slave stopped replicating with no errors. The only thing strange i see is this

Slave_SQL_Running_State: init

in show slave status; I see

enter code hereSlave_IO_State: Waiting for master to send event
              Master_Host: *
              Master_User: slave
              Master_Port: 3306
            Connect_Retry: 60
          Master_Log_File: mysql-bin.001744
      Read_Master_Log_Pos: 611616113
           Relay_Log_File: replica01-relay-bin.003476
            Relay_Log_Pos: 280710341
    Relay_Master_Log_File: mysql-bin.001733
         Slave_IO_Running: Yes
        Slave_SQL_Running: Yes
          Replicate_Do_DB: asterisk
      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: 284884080
          Relay_Log_Space: 12277016554
          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: 161262Master_SSL_Verify_Server_Cert: No
            Last_IO_Errno: 0
            Last_IO_Error:
           Last_SQL_Errno: 0
           Last_SQL_Error:  Replicate_Ignore_Server_Ids:
         Master_Server_Id: 1
           Master_SSL_Crl:
       Master_SSL_Crlpath:
               Using_Gtid: No
              Gtid_IO_Pos:
  Replicate_Do_Domain_Ids:  Replicate_Ignore_Domain_Ids:
            Parallel_Mode: conservative
                SQL_Delay: 0
      SQL_Remaining_Delay: NULL
  Slave_SQL_Running_State: init

Any ideas?

  • What is the slave_net_tiemout system variable set to? – J.D. Nov 21 at 13:54
  • 1
    slave_net_tiemout = 60 I resolved by skipping a query, No idea what the query was anyways – Euratus Nov 21 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.