<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="ddl-rewriter-options">
      </a>
      7.6.5.2 ddl_rewriter Plugin Options
     </h4>
    </div>
   </div>
  </div>
  <p>
   This section describes the command options that control
        operation of the
   <code class="literal">
    ddl_rewriter
   </code>
   plugin. If
        values specified at startup time are incorrect, the
   <code class="literal">
    ddl_rewriter
   </code>
   plugin may fail to initialize
        properly and the server does not load it.
  </p>
  <p>
   To control activation of the
   <code class="literal">
    ddl_rewriter
   </code>
   plugin, use this option:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_mysqld_ddl-rewriter">
      </a>
      <a class="link" href="ddl-rewriter-options.html#option_mysqld_ddl-rewriter">
       <code class="option">
        --ddl-rewriter[=
        <em class="replaceable">
         <code>
          value
         </code>
        </em>
        ]
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045256158784">
     </a>
     <a class="indexterm" name="idm46045256157296">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ddl-rewriter">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ddl-rewriter[=value]
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Enumeration
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           ON
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Valid Values
         </th>
         <td>
          <p class="valid-value">
           <code class="literal">
            ON
           </code>
          </p>
          <p class="valid-value">
           <code class="literal">
            OFF
           </code>
          </p>
          <p class="valid-value">
           <code class="literal">
            FORCE
           </code>
          </p>
          <p class="valid-value">
           <code class="literal">
            FORCE_PLUS_PERMANENT
           </code>
          </p>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option controls how the server loads the
      <code class="literal">
       ddl_rewriter
      </code>
      plugin at startup. It is
            available only if the plugin has been previously registered
            with
      <a class="link" href="install-plugin.html" title="15.7.4.4 INSTALL PLUGIN Statement">
       <code class="literal">
        INSTALL PLUGIN
       </code>
      </a>
      or is
            loaded with
      <a class="link" href="server-options.html#option_mysqld_plugin-load">
       <code class="option">
        --plugin-load
       </code>
      </a>
      or
      <a class="link" href="server-options.html#option_mysqld_plugin-load-add">
       <code class="option">
        --plugin-load-add
       </code>
      </a>
      . See
      <a class="xref" href="ddl-rewriter-installation.html" title="7.6.5.1 Installing or Uninstalling ddl_rewriter">
       Section 7.6.5.1, “Installing or Uninstalling ddl_rewriter”
      </a>
      .
     </p>
     <p>
      The option value should be one of those available for
            plugin-loading options, as described in
      <a class="xref" href="plugin-loading.html" title="7.6.1 Installing and Uninstalling Plugins">
       Section 7.6.1, “Installing and Uninstalling Plugins”
      </a>
      . For example,
      <a class="link" href="ddl-rewriter-options.html#option_mysqld_ddl-rewriter">
       <code class="option">
        --ddl-rewriter=OFF
       </code>
      </a>
      disables
            the plugin at server startup.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
