<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="channels-commands-single-channel">
      </a>
      19.2.2.1 Commands for Operations on a Single Channel
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045138172896">
  </a>
  <a class="indexterm" name="idm46045138171408">
  </a>
  <p>
   To enable MySQL replication operations to act on individual
      replication channels, use the
   <code class="literal">
    FOR CHANNEL
    <em class="replaceable">
     <code>
      channel
     </code>
    </em>
   </code>
   clause with the
      following replication statements:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a class="link" href="change-replication-source-to.html" title="15.4.2.2 CHANGE REPLICATION SOURCE TO Statement">
       <code class="literal">
        CHANGE REPLICATION SOURCE TO
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="start-replica.html" title="15.4.2.4 START REPLICA Statement">
       <code class="literal">
        START REPLICA
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="stop-replica.html" title="15.4.2.5 STOP REPLICA Statement">
       <code class="literal">
        STOP REPLICA
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="show-relaylog-events.html" title="15.7.7.34 SHOW RELAYLOG EVENTS Statement">
       <code class="literal">
        SHOW RELAYLOG EVENTS
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="flush.html" title="15.7.8.3 FLUSH Statement">
       <code class="literal">
        FLUSH RELAY
          LOGS
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="show-replica-status.html" title="15.7.7.35 SHOW REPLICA STATUS Statement">
       <code class="literal">
        SHOW REPLICA STATUS
       </code>
      </a>
     </p>
    </li>
    <li class="listitem">
     <p>
      <a class="link" href="reset-replica.html" title="15.4.2.3 RESET REPLICA Statement">
       <code class="literal">
        RESET REPLICA
       </code>
      </a>
     </p>
    </li>
   </ul>
  </div>
  <p>
   The
   <a class="link" href="replication-functions-synchronization.html#function_source-pos-wait">
    <code class="literal">
     SOURCE_POS_WAIT()
    </code>
   </a>
   function has
      a
   <code class="literal">
    channel
   </code>
   parameter.
  </p>
  <p>
   <a class="link" href="start-replica.html" title="15.4.2.4 START REPLICA Statement">
    <code class="literal">
     START REPLICA
    </code>
   </a>
   and
   <a class="link" href="stop-replica.html" title="15.4.2.5 STOP REPLICA Statement">
    <code class="literal">
     STOP REPLICA
    </code>
   </a>
   are disallowed for the
   <code class="literal">
    group_replication_recovery
   </code>
   and
   <code class="literal">
    group_replication_applier
   </code>
   channels.
   <a class="link" href="show-replica-status.html" title="15.7.7.35 SHOW REPLICA STATUS Statement">
    <code class="literal">
     SHOW REPLICA STATUS
    </code>
   </a>
   is also not
      allowed with the
   <code class="literal">
    group_replication_applier
   </code>
   channel.
  </p>
  <p>
   <a class="link" href="flush.html" title="15.7.8.3 FLUSH Statement">
    <code class="literal">
     FLUSH RELAY LOGS
    </code>
   </a>
   is allowed for the
   <code class="literal">
    group_replication_applier
   </code>
   channel, but if the request is received while a transaction is
      being applied, the request is not performed until after the
      transaction ends. The requester must wait while the transaction is
      completed and the rotation takes place. This prevents transactions
      from being split, which is not allowed for Group Replication.
  </p>
 </div>
 <br/>
</div>
