遇到这样的错误如:“Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: ‘Could not find first log file name in binary log index file’”等或由于清数据导致主从库不同步了,解决办法如下: 先进入slave中执行:”slave stop;”来停止从库同步; 再去master中执行:”flush logs;”来清空日志; 然后在m