您的位置:首页 > 编程语言 > Go语言

Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Could not find

2015-04-28 10:48 806 查看


 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'


 

 

当碰上这种错误的时候, 一般都是直接从库重新init一次, 因为 binlog  file断档了。今天prod上碰到一次,只好叫同事去rebuild了一次。

 

大家记得在设置expire_logs_days参数或者手动flush logs的时候,一定要注意slave的replication的log点。否则及其容易报1236错误。

清理日志方法请参考:

清理种类: http://blog.csdn.net/mchdba/article/details/8841079

批量清理几十台DB的binlog:http://blog.csdn.net/mchdba/article/details/11936043

远程清理prod上面的过期实效的备份:http://blog.csdn.net/mchdba/article/details/8982955

批量清理100多台DB的binlog:http://blog.csdn.net/mchdba/article/details/9032305

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐