不同版本mysql主从复制
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了不同版本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 ‘[email protected]:3306‘ - retry-time: 60 retries: 86400, Error_code: 2013
161019 14:33:34 [Note] Slave I/O thread: connected to master ‘[email protected]: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 ‘[email protected]: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主从复制的主要内容,如果未能解决你的问题,请参考以下文章