- show variables like ‘log_bin’;
ON 代表开启了日志功能 - show binary logs;
binlog日志文件 - show binlog events in ‘binlog.000002’;
- 文件存放路径
- mysqlbinlog所在的路径
- 在bin路径下,命令行执行 mysqlbinlog.exe --no-defaults --base64-output=decode-rows -v …/data/binlog.000002 > test.txt
- 文件的位置
- 查看后的结果
03-14
5261
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-09