MySQL主从失败 错误Got fatal error 1236
# tail -n 30 logs/mysqld.log130619 22:23:36 Slave SQL thread initialized, starting replication in log 'mysql-bin.001343' at position 107,>
130619 22:23:36 Slave I/O thread: connected to master 'slave@10.10.0.236:3306',replication started in log 'mysql-bin.001343' at position 107
130620 14:04:21 Slave: received end packet from server, apparent master shutdown:
130620 14:04:21 Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.001343' at position 2544563
130620 14:04:21 Slave I/O: error reconnecting to master 'slave@10.10.0.236:3306' - retry-time: 60retries: 86400, Error_code: 2003
130620 14:13:45 Slave: connected to master 'slave@10.10.0.236:3306',replication resumed in log 'mysql-bin.001343' at position 2544563
130623 22:04:17 Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
130623 22:04:17 Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.001402' at position 121870679
130623 22:04:20 Slave I/O: error reconnecting to master 'slave@10.10.0.236:3306' - retry-time: 60retries: 86400, Error_code: 2003
130623 22:08:29 Slave: connected to master 'slave@10.10.0.236:3306',replication resumed in log 'mysql-bin.001402' at position 121870679
130623 22:08:29 Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)
130623 22:08:29 Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position', Error_code: 1236
130623 22:08:29 Slave I/O thread exiting, read up to log 'mysql-bin.001402', position 121870679
130623 22:26:29 Error reading>
130623 22:26:34 'CHANGE MASTER TO executed'. Previous state master_host='10.10.0.236', master_port='3306', master_log_file='mysql-bin.001402', master_log_pos='121870679'. New state master_host='10.10.0.236', master_port='3306', master_log_file='mysql-bin.001403', master_log_pos='107'.
130623 22:26:42 Slave SQL thread initialized, starting replication in log 'mysql-bin.001403' at position 107,>
130623 22:26:42 Slave I/O thread: connected to master 'slave@10.10.0.236:3306',replication started in log 'mysql-bin.001403' at position 107
130629 12:04:21 Error reading packet from server: Lost connection to MySQL server during query ( server_errno=2013)
130629 12:04:21 Slave I/O thread: Failed reading log event, reconnecting to retry, log 'mysql-bin.001501' at position 144001931
130629 12:04:24 Slave I/O: error reconnecting to master 'slave@10.10.0.236:3306' - retry-time: 60retries: 86400, Error_code: 2003
130629 12:08:33 Slave: connected to master 'slave@10.10.0.236:3306',replication resumed in log 'mysql-bin.001501' at position 144001931
130629 12:08:33 Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)
130629 12:08:33 Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position', Error_code: 1236
130629 12:08:33 Slave I/O thread exiting, read up to log 'mysql-bin.001501', position 144001931
130629 22:10:08 Error reading>
130629 22:10:12 Slave SQL thread initialized, starting replication in log 'mysql-bin.001501' at position 144001931,>
130629 22:10:12 Slave I/O thread: connected to master 'slave@10.10.0.236:3306',replication started in log 'mysql-bin.001501' at position 144001931
130629 22:10:12 Error reading packet from server: Client requested master to start replication from impossible position ( server_errno=1236)
130629 22:10:12 Slave I/O: Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position', Error_code: 1236
130629 22:10:12 Slave I/O thread exiting, read up to log 'mysql-bin.001501', position 144001931
页:
[1]