当前位置:网站首页>Common errors and solutions of MySQL reading binlog logs
Common errors and solutions of MySQL reading binlog logs
2022-06-27 18:49:00 【51CTO】
1. see binlog, Open is garbled mode , Can't see the execution sql sentence
Find out MySQL Library binlog The logs are all garbled , As shown below : BINLOG ’ IXZqVhNIAAAALQAAAGcBAAAAAHoAAAAAAAEABHRlc3QAAno0AAEDAABUOcnY
IXZqVh5IAAAAKAAAAI8BAAAAAHoAAAAAAAEAAgAB//4BAAAAcu+UpA==, If you force -v They will not be implemented in detail sql sentence
The solution is :
It can be used --base64-output=DECODE-ROWS -v Check it out sql sentence
for example :
/usr/local/mysql/bin/mysqlbinlog--base64-output=DECODE-ROWS -v mysql-bin.000003
2. mysqlbinlog: [ERROR] unknown variable 'default-character-set=utf8mb4'
When we're in my.cnf Add default-character-set=utf8mb4 Options , So in mysqlbinlog see binlog It's a mistake .
resolvent :mysqlbinlog Add later --no-defaults Option means that no settings in the configuration file are read
/usr/local/mysql/bin/mysqlbinlog--no-defaults mysql-bin.000003
边栏推荐
- TDengine在数控机床监控中的应用
- Overview of Inspur Yunxi database executor
- Allocate aligned heap space
- The data synchronization tool dataX has officially supported reading and writing tdengine
- Characteristics of time series data
- MySQL中的行转列和列转行
- 阅文、中文在线等网文平台如何布局数字藏品?未来是否会推出“Read/Write-to-Earn”产品?
- 实现时序数据库(Time Series Database)在特定场景下“远超”通用数据库的难点
- R language statistics a program running time function system time
- Wanzhou gold industry: what are the differences between gold t+d investment and other investments?
猜你喜欢
GAC Mitsubishi's new outlander made its first domestic debut in the year, and its product strength was fully renewed
Alibaba cloud server is invaded
MFS distributed file system
Push NFT out of the regulatory dilemma, and BSN launched NFT supporting infrastructure network
China's Industrial Software Market Research Report is released, and SCADA and MES of force control enrich the ecology of domestic industrial software
How to use the low code platform of the Internet of things for picture management?
SQL update批量更新
Win10 LTSC 2021 wsappx CPU 占用高
Keras深度学习实战(12)——面部特征点检测
使用 WebDAV 替代445端口文件共享
随机推荐
[UVM foundation] UVM_ Is in agent_ Active variable definition
新产品新人事新服务,英菲尼迪继续深耕中国未来可期!
Contest3182 - the 39th individual training match for 2021 freshmen_ C: [string] ISBN number
Offline disk group
Market status and development prospect forecast of global off-road recovery rope industry in 2022
[JS reverse hundreds of examples] I love to solve 2022 Spring Festival problems and receive red envelopes
Redis系列2:数据持久化提高可用性
Three methods to quickly open CMD in a specified folder or place
Wanzhou gold industry: what are the common gold investment and warehouse building modes?
VSCode 建议你启用 gopls,它到底是个什么东东?
MFS分布式文件系统
Jeesite 4.0 replaces the default view style and customizes the theme
在arcgis中以txt格式导出点的坐标
JS event binding and common events
Teach you to use elastic search: run the first hello world search command
【ELT.ZIP】OpenHarmony啃论文俱乐部—见证文件压缩系统EROFS
产学合作协同育人,麒麟软件携手南开大学合力完成《软件测试与维护》实践课程
The first in China! EMQ joined Amazon cloud technology's "startup acceleration - global partner network program"
Application practice of day13 for loop distinguish the application of traversing break continue
Bit. Store: long bear market, stable stacking products may become the main theme