mysql报错:ERROR: Error in Log_event::read_log_event():"Sanity check
来源:互联网 发布:蜂窝移动数据已关闭 编辑:程序博客网 时间:2024/05/16 06:50
执行:mysqlbin -v --base64-output=decode-rows mysql-bin.000002 > 1.log
报:ERROR: Error in Log_event::read_log_event():"Sanity check
查找mysqlbinlog命令
find / -name mysqlbinlog
which mysqlbinlog
/usr/bin/mysqlbinlog
所以直接执行mysqlbin -v --base64-output=decode-rows mysql-bin.000002 > 1.log
用的是 /usr/bin/mysqlbinlog的mysqlbinlog,而我装的是5.7的,所以的用这个mysqlbinlog:
/opt/mysql/mysql-5.7.15-linux-glibc2.5-x86_64/bin/mysqlbinlog
查看mysqlbinlog版本
/opt/mysql/mysql-5.7.15-linux-glibc2.5-x86_64/bin -V
3.4的
/usr/bin/mysqlbinlog -V
3.3的
直接用/opt/mysql/mysql-5.7.15-linux-glibc2.5-x86_64/bin/mysqlbinlog这个mysqlbinlog才对
/opt/mysql/mysql-5.7.15-linux-glibc2.5-x86_64/bin/mysqlbinlog -v --base64-output=decode-rows mysql-bin.000002 > 1.log
这个时候解析出来的binlog就没问题了
- mysql报错:ERROR: Error in Log_event::read_log_event():"Sanity check
- ERROR: Error in Log_event::read_log_event()
- ERROR: Error in Log_event::read_log_event()
- ERROR: Error in Log_event::read_log_event():
- ERROR: Error in Log_event::read_log_event(): 'read error', data_len: 438, event_type: 2
- ERROR: Error in Log_event::read_log_event(): 'read error', data_len: 438, event_type: 2
- ERROR: Error in Log_event::read_log_event(): 'read error', data_len: 438, event_type: 2
- ERROR: Error in Log_event::read_log_event(): 'read error', data_len: 234781854, event_type: 2
- ERROR: Error in Log_event::read_log_event(): 'Found invalid event in binary log', data_len: 77, even
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check-centos5安装mysql报错!
- DbVisualizer报错You have an error in your SQL syntax; check the manual that corresponds to your MySQL
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- error: C++ preprocessor "/lib/cpp" fails sanity check错误解决方法
- gconf-sanity-check-2 Exited With Status 256 Error
- 哈希表简介
- golang操作redis出现的错误解决
- 2017年河北省大学生程序设计竞赛 奇异旅馆 【并查集+树状数组】
- Educational Codeforces Round 33 (Rated for Div. 2) F
- 数学期望与方差E(X) D(X)
- mysql报错:ERROR: Error in Log_event::read_log_event():"Sanity check
- ubuntu nginx php网站环境搭建
- leetcode小岛问题2道 (DFS的递归法和迭代法应用)
- 相同URL
- 11.24-11.25 省选训练总结1 线段树相关/CDQ/整体二分
- MPAndroidChart绘制折线图
- 卷积神经网络CNN(反向传播具体算法)
- 经典词句
- 【我的Java笔记】IO流_输出流中给文本文件追加数据的方法