mysql数据库主从出现1236错误

Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'系列一:
主库添加log-bin-index 参数后,从库报这个错误:Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'
Got fatal error 1236 from master when reading data from binary log: 'could not find next log'


解决办法:
stop slave;
reset slave;
start slave;

  

posted @ 2019-05-08 17:07  巴黎斜塔  阅读(598)  评论(0编辑  收藏  举报