SHOW BINLOG EVENTS [IN '
pos] [LIMIT [
Shows the events in the binary log. If you do not specify
first binary log is displayed.
This statement is available as of MySQL 4.0.
SHOW BINLOG EVENTS
LIMIT clause could start a very
time- and resource-consuming process because the server
returns to the client the complete contents of the binary log
(which includes all statements executed by the server that
modify data). As an alternative to
BINLOG EVENTS, use the
mysqlbinlog utility to save the binary log
to a text file for later examination and analysis. See
Section 4.6.6, “mysqlbinlog — Utility for Processing Binary Log Files”.