#### 13.7.8.1 BINLOG Statement

[]()

```
BINLOG 'str'
```

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

 To execute [`BINLOG`](binlog.html) statements when applying [**mysqlbinlog**](mysqlbinlog.html) output, a user account requires the [`BINLOG_ADMIN`](privileges-provided.html#priv_binlog-admin) privilege (or the deprecated [`SUPER`](privileges-provided.html#priv_super) privilege), or the [`REPLICATION_APPLIER`](privileges-provided.html#priv_replication-applier) privilege plus the appropriate privileges to execute each log event.

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

