Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file'
在主MySQL那边,执行:
flush logs;
show master status;
记下File, Position。
在从MySQL执行
CHANGE MASTER TO MASTER_LOG_FILE=binlog.000002',MASTER_LOG_POS=155;
start slave;
show slave status\G;