Mysql binlog View questions

use the following command to view binlog:

show binlog events in "mysql-bin.000039"

what you see is as follows:

clipboard.png

I can directly display the executed binlog statements when I look at the contents of other people"s sql logs on the Internet. Why didn"t mine?
how can I quickly locate the sql statement I want to restore?

Feb.28,2021

show variables like  'binlog_format';

take a look at the corresponding value of binlog_format

refer to binary-log-formats

again.
Menu