slave服务器,查看状态时,发现下面的错误:

Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Slave can not handle replication events with the checksum that master is configured to log; the first event 'mysql-bin.000001' at 5115510, the last event read from './mysql-bin.000001' at 5115510, the last byte read from './mysql-bin.000001' at 120.'

搜了一下,原来是mysql版本的问题,原来都是5.5的,后来主库机器的硬盘坏了,重新装了一个5.6版本的mysql。据说5.6的binlog_checksum 默认设置的是 crc32

更改master的binlog_checksum 为none即可,

 

 

相关文章:

  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
  • 2021-09-16
  • 2021-06-07
猜你喜欢
  • 2021-05-12
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-11-24
  • 2021-06-12
相关资源
相似解决方案