Documentation Home
MySQL 9.5 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.4Mb
PDF (A4) - 41.5Mb
Man Pages (TGZ) - 272.3Kb
Man Pages (Zip) - 378.3Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


15.7.8.1 BINLOG Statement

BINLOG 'str'

BINLOG is an internal-use statement. It is generated by themysqlbinlog program as the printable representation of certain events in binary log files. (SeeSection 6.6.9, “mysqlbinlog — Utility for Processing Binary Log Files”.) The'str' value is a base 64-encoded string the that server decodes to determine the data change indicated by the corresponding event.

To executeBINLOG statements when applyingmysqlbinlog output, a user account requires theBINLOG_ADMIN privilege (or the deprecatedSUPER privilege), or theREPLICATION_APPLIER privilege plus the appropriate privileges to execute each log event.

This statement can execute only format description events and row events.