不同版本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 



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章