### 13.4.1 SQL Statements for Controlling Source Servers

[13.4.1.1 PURGE BINARY LOGS Statement](purge-binary-logs.html)
[13.4.1.2 RESET MASTER Statement](reset-master.html)
[13.4.1.3 SET sql\_log\_bin Statement](set-sql-log-bin.html)

[]()[]()[]()

 This section discusses statements for managing replication source servers. [Section 13.4.2, “SQL Statements for Controlling Replica Servers”](replication-statements-replica.html), discusses statements for managing replica servers.

 In addition to the statements described here, the following [`SHOW`](show.html) statements are used with source servers in replication. For information about these statements, see [Section 13.7.7, “SHOW Statements”](show.html).

* [`SHOW BINARY LOGS`](show-binary-logs.html)

* [`SHOW BINLOG EVENTS`](show-binlog-events.html)

* [`SHOW MASTER STATUS`](show-master-status.html)

* [`SHOW REPLICAS`](show-replicas.html) (or before MySQL 8.0.22, [`SHOW SLAVE HOSTS`](show-slave-hosts.html))

