Could not find first log file name in binary log
2015-11-04 00:00
555 查看
摘要: Could not find first log file name in binary log index file
Scenario Master – Master replication
MasterA is a client facing server
MasterB is a warm standby server (read only)
MasterB restarted abruptly and when instances were braught back up MasterA (it’s slave) was showing the following error:
MasterA has the following error in show slave status:
Last_IO_Errno: 1236
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’
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;
Scenario Master – Master replication
MasterA is a client facing server
MasterB is a warm standby server (read only)
MasterB restarted abruptly and when instances were braught back up MasterA (it’s slave) was showing the following error:
MasterA has the following error in show slave status:
Last_IO_Errno: 1236
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’
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;
相关文章推荐
- leetcode笔记:House Robber II
- oc字符串的简单使用
- C/S通信---服务器IO多路复用模型之poll的使用
- GUI_台球游戏核心功能开发JAVA077-082
- Mathematica 函数右下标有无的区别
- 【HDU 5532 Almost Sorted Array】水题,模拟
- iOS NSNotificationCenter的简单使用
- iOS UI设计: 在Autolayout自适应的情况下tableviewcell高度自适应
- android:java.lang.NoClassDefFoundError: com.lidroid.xutils.HttpUtils 异常的解决
- 关于WordPress后台设置中的WordPress地址和站点地址的解读
- DisableExplicitGC和Direct ByteBuffer
- 高质量程序设计指南C++/c语言 第四章
- java架构师之路:JAVA程序员必看的15本书的电子版下载地址
- HIHO 16 B
- 如何有效控制需求变更
- Makefile 使用总结
- 控件悬停
- EditPlus4.0汉化+破解注册
- Genymotion启动失败解决方法
- [转]VC++中CTime类Format参数详解