关于mysql slave 与 master 日志不同步解决方案

Error: MySQL“Got fatal error 1236: ‘Could not find first log file name in binary log index file’ from master when reading data from binary log”


Solution:

Slave: stop slave;

Master: flush logs
Master: show master status; — take note of the master log file and master log position

Slave: CHANGE MASTER TO MASTER_LOG_FILE=’log-bin.00000X′, MASTER_LOG_POS=106;
Slave: start slave;


你可能感兴趣的:(数据库)