首页 > 数据库技术 > 详细

不同版本mysql主从复制

时间:2016-10-22 00:54:28      阅读:424      评论:0      收藏:0      [点我收藏+]

先把错误撩这里,有空了再来更新 

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主从复制

原文:http://chenshifei.blog.51cto.com/11883413/1864412

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!