首页 > 代码库 > 不同版本mysql主从复制
不同版本mysql主从复制
先把错误撩这里,有空了再来更新
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: ‘Misconfigured master - server id was not set‘
cat /var/log/messages或者cat /mnt/sdb/mysql_3306/mysql.error
161019 14:20:16 [ERROR] Slave I/O: error connecting to master ‘repuser@10.28.201.20:3306‘ - retry-time: 60 retries: 86400, Error_code: 2013
161019 14:33:34 [Note] Slave I/O thread: connected to master ‘repuser@10.28.201.20:3306‘,replication started in log ‘mysql-bin.000008‘ at position 15841571
161019 14:33:34 [ERROR] Error reading packet from server: Misconfigured master - server id was not set ( server_errno=1236)
161019 14:33:34 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: ‘Misconfigured master - server id was not set‘, Error_code: 1236
161019 14:33:34 [Note] Slave I/O thread exiting, read up to log ‘mysql-bin.000008‘, position 15841571
161019 14:39:33 [Note] Slave I/O thread: connected to master ‘repuser@10.26.201.253:3306‘,replication started in log ‘mysql-bin.000008‘ at position 15841571
161019 14:39:33 [ERROR] Error reading packet from server: Misconfigured master - server id was not set ( server_errno=1236)
161019 14:39:33 [ERROR] Slave I/O: Got fatal error 1236 from master when reading data from binary log: ‘Misconfigured master - server id was not set‘, Error_code: 1236
161019 14:39:33 [Note] Slave I/O thread exiting, read up to log ‘mysql-bin.000008‘, position 15841571
不同版本mysql主从复制