It has not been added since mysql binlog restarted mysql.

and how to get the original sql it executes

< hr >

show binlog events I used this statement. It turns out that this defaults to the first file

.
Nov.01,2021

mysql restart will generate a new binlog file. Execute show binary logs; on the command line to view the penultimate file, which is the record you executed before restart


show binary logs can view all binlog, and then go to
mysqlbinlog binlog_filename under the binlog directory path to view binlog content

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf31f0-31e58.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf31f0-31e58.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?