主库磁盘满,从库io线程报错Got fatal error 1236 from master when reading data from binary log
2015-11-11 18:31
639 查看
Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the first event 'mysql-bin.001841' at 826366537, the last event read from './mysql-bin.002333'
at 2828282975, the last byte read from './mysql-bin.002333' at 2828283169.'
mysqlbinlog ./mysql-bin.002333 --start-position=2828282975
显示2828282975后没有日志,并有错误信息,所以直接使用下一个日志,post为0
stop slave;
change master to master_host='10.0.0.x', master_user='', master_password='', master_log_file=./mysql-bin.002333, master_log_pos=0;
start slave;
show slave status\G
显示正在同步,一切正常
at 2828282975, the last byte read from './mysql-bin.002333' at 2828283169.'
mysqlbinlog ./mysql-bin.002333 --start-position=2828282975
显示2828282975后没有日志,并有错误信息,所以直接使用下一个日志,post为0
stop slave;
change master to master_host='10.0.0.x', master_user='', master_password='', master_log_file=./mysql-bin.002333, master_log_pos=0;
start slave;
show slave status\G
显示正在同步,一切正常
相关文章推荐
- Git Tutorial 1 - Goto Staging Area
- 创建django项目报错:Django not found
- [转]How Hash Algorithms Work
- about golang
- google浙大招聘笔试题
- category extension
- High Performance Django
- go安装windows源码
- webrtc doubango linphone
- 一幅图看看mongondb对企业级数据的管理
- 在线安装 IntelliJ IDEA的 golang 插件
- lightoj 1030 - Discovering Gold 【期望】
- 加密dns配合goXgent
- OC-Category
- Introduction to Algorithm - Summary of Chapter 1 - The Role of Algorithm in Computing
- GoodsCollectionViewCell添加button点击不响应
- google-play-services_lib的应用检查是否有google service
- HDU_4123 && POJ_4003 Bob’s Race (dfs / bfs + RMQ + 尺取)
- golang中archive/zip包用法
- 初识DragonBoard 410c