<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="replication-statements-source">
      </a>
      15.4.1 SQL Statements for Controlling Source Servers
     </h3>
    </div>
   </div>
  </div>
  <div class="toc">
   <dl class="toc">
    <dt>
     <span class="section">
      <a href="purge-binary-logs.html">
       15.4.1.1 PURGE BINARY LOGS Statement
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="reset-binary-logs-and-gtids.html">
       15.4.1.2 RESET BINARY LOGS AND GTIDS Statement
      </a>
     </span>
    </dt>
    <dt>
     <span class="section">
      <a href="set-sql-log-bin.html">
       15.4.1.3 SET sql_log_bin Statement
      </a>
     </span>
    </dt>
   </dl>
  </div>
  <a class="indexterm" name="idm46045177915248">
  </a>
  <a class="indexterm" name="idm46045177913760">
  </a>
  <a class="indexterm" name="idm46045177912272">
  </a>
  <p>
   This section discusses statements for managing replication source
      servers.
   <a class="xref" href="replication-statements-replica.html" title="15.4.2 SQL Statements for Controlling Replica Servers">
    Section 15.4.2, “SQL Statements for Controlling Replica Servers”
   </a>
   ,
      discusses statements for managing replica servers.
  </p>
  <p>
   In addition to the statements described here, the following
   <a class="link" href="show.html" title="15.7.7 SHOW Statements">
    <code class="literal">
     SHOW
    </code>
   </a>
   statements are used with
      source servers in replication. For information about these
      statements, see
   <a class="xref" href="show.html" title="15.7.7 SHOW Statements">
    Section 15.7.7, “SHOW Statements”
   </a>
   .
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a class="link" href="show-binary-logs.html" title="15.7.7.2 SHOW BINARY LOGS Statement">
       <code class="literal">
        SHOW BINARY LOGS
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="show-binlog-events.html" title="15.7.7.3 SHOW BINLOG EVENTS Statement">
       <code class="literal">
        SHOW BINLOG EVENTS
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="show-binary-log-status.html" title="15.7.7.1 SHOW BINARY LOG STATUS Statement">
       <code class="literal">
        SHOW BINARY LOG STATUS
       </code>
      </a>
      (replaces
      <code class="literal">
       SHOW MASTER STATUS
      </code>
      , which is no
          longer supported)
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="show-replicas.html" title="15.7.7.36 SHOW REPLICAS Statement">
       <code class="literal">
        SHOW
          REPLICAS
       </code>
      </a>
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
