<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndb-mgm">
      </a>
      25.5.5 ndb_mgm — The NDB Cluster Management Client
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045106433568">
  </a>
  <a class="indexterm" name="idm46045106432624">
  </a>
  <a class="indexterm" name="idm46045106431264">
  </a>
  <a class="indexterm" name="idm46045106429936">
  </a>
  <a class="indexterm" name="idm46045106428544">
  </a>
  <a class="indexterm" name="idm46045106427216">
  </a>
  <a class="indexterm" name="idm46045106425856">
  </a>
  <p>
   The
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   management client process is
        actually not needed to run the cluster. Its value lies in
        providing a set of commands for checking the cluster's status,
        starting backups, and performing other administrative functions.
        The management client accesses the management server using a C
        API. Advanced users can also employ this API for programming
        dedicated management processes to perform tasks similar to those
        performed by
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   .
  </p>
  <p>
   To start the management client, it is necessary to supply the
        host name and port number of the management server:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa3048634"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">ndb_mgm</span> <span class="token punctuation">[</span><em class="replaceable">host_name</em> <span class="token punctuation">[</span><em class="replaceable">port_num</em><span class="token punctuation">]</span><span class="token punctuation">]</span></code></pre>
  </div>
  <p>
   For example:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa19403710"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">ndb_mgm</span> ndb_mgmd<span class="token punctuation">.</span>mysql<span class="token punctuation">.</span>com 1186</code></pre>
  </div>
  <p>
   The default host name and port number are
   <code class="literal">
    localhost
   </code>
   and 1186, respectively.
  </p>
  <a class="indexterm" name="idm46045106415040">
  </a>
  <a class="indexterm" name="idm46045106413552">
  </a>
  <a class="indexterm" name="idm46045106412064">
  </a>
  <a class="indexterm" name="idm46045106410560">
  </a>
  <p>
   All options that can be used with
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   are
        shown in the following table. Additional descriptions follow the
        table.
  </p>
  <p>
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_backup-password-from-stdin">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_backup-password-from-stdin">
       <code class="option">
        --backup-password-from-stdin[=TRUE|FALSE]
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106404144">
     </a>
     <a class="indexterm" name="idm46045106402640">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for backup-password-from-stdin">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --backup-password-from-stdin
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option enables input of the backup password from the
            system shell (
      <code class="literal">
       stdin
      </code>
      ) when using
      <code class="option">
       --execute "START BACKUP"
      </code>
      or similar to
            create a backup. Use of this option requires use of
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_execute">
       <code class="option">
        --execute
       </code>
      </a>
      as well.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_character-sets-dir">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_character-sets-dir">
       <code class="option">
        --character-sets-dir
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106390256">
     </a>
     <a class="indexterm" name="idm46045106388800">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for character-sets-dir">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --character-sets-dir=path
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Directory containing character sets.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_connect-retries">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_connect-retries">
       <code class="option">
        --connect-retries=
        <em class="replaceable">
         <code>
          #
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106378752">
     </a>
     <a class="indexterm" name="idm46045106377264">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-retries">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-retries=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Numeric
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           3
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           4294967295
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option specifies the number of times following the
            first attempt to retry a connection before giving up (the
            client always tries the connection at least once). The
            length of time to wait per attempt is set using
      <a class="link" href="mysql-cluster-programs-ndb-mgmd.html#option_ndb_mgmd_connect-retry-delay">
       <code class="option">
        --connect-retry-delay
       </code>
      </a>
      .
     </p>
     <p>
      This option is synonymous with the
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_try-reconnect">
       <code class="option">
        --try-reconnect
       </code>
      </a>
      option,
            which is now deprecated.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_connect-retry-delay">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_connect-retry-delay">
       <code class="option">
        --connect-retry-delay
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106355344">
     </a>
     <a class="indexterm" name="idm46045106353888">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-retry-delay">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-retry-delay=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           5
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           5
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Number of seconds to wait between attempts to contact
            management server.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_connect-string">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_connect-string">
       <code class="option">
        --connect-string
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106334704">
     </a>
     <a class="indexterm" name="idm46045106333216">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-string">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-string=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Same as
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_core-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_core-file">
       <code class="option">
        --core-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106317808">
     </a>
     <a class="indexterm" name="idm46045106316320">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for core-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --core-file
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Write core file on error; used in debugging.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_defaults-extra-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_defaults-extra-file">
       <code class="option">
        --defaults-extra-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106306480">
     </a>
     <a class="indexterm" name="idm46045106305024">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-extra-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-extra-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given file after global files are read.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_defaults-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_defaults-file">
       <code class="option">
        --defaults-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106290608">
     </a>
     <a class="indexterm" name="idm46045106289120">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-file">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-file=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read default options from given file only.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_defaults-group-suffix">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_defaults-group-suffix">
       <code class="option">
        --defaults-group-suffix
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106274848">
     </a>
     <a class="indexterm" name="idm46045106273392">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for defaults-group-suffix">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --defaults-group-suffix=string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Also read groups with concat(group, suffix).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_encrypt-backup">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_encrypt-backup">
       <code class="option">
        --encrypt-backup
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106259040">
     </a>
     <a class="indexterm" name="idm46045106257552">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for encrypt-backup">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --encrypt-backup
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      When used, this option causes all backups to be encrypted.
            To make this happen whenever
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
       <span class="command">
        <strong>
         ndb_mgm
        </strong>
       </span>
      </a>
      is
            run, put the option in the
      <code class="literal">
       [ndb_mgm]
      </code>
      section of the
      <code class="filename">
       my.cnf
      </code>
      file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_execute">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_execute">
       <code class="option">
        --execute=
        <code class="literal">
         command
        </code>
       </code>
      </a>
      ,
      <code class="option">
       -e
       <code class="literal">
        command
       </code>
      </code>
     </p>
     <a class="indexterm" name="idm46045106243728">
     </a>
     <a class="indexterm" name="idm46045106242240">
     </a>
     <a class="indexterm" name="idm46045106240752">
     </a>
     <a class="indexterm" name="idm46045106239264">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for execute">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --execute=command
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option can be used to send a command to the NDB Cluster
            management client from the system shell. For example, either
            of the following is equivalent to executing
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-show">
       <code class="literal">
        SHOW
       </code>
      </a>
      in the management
            client:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa12723900"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token prompt">$&gt; </span><span class="token command">ndb_mgm</span> <span class="token property">-e</span> <span class="token atrule">"SHOW"</span>

<span class="token prompt">$&gt; </span><span class="token command">ndb_mgm</span> <span class="token constant">--execute</span>=<span class="token atrule">"SHOW"</span></code></pre>
     </div>
     <p>
      This is analogous to how the
      <a class="link" href="mysql-command-options.html#option_mysql_execute">
       <code class="option">
        --execute
       </code>
      </a>
      or
      <code class="option">
       -e
      </code>
      option works with the
      <a class="link" href="mysql.html" title="6.5.1 mysql — The MySQL Command-Line Client">
       <span class="command">
        <strong>
         mysql
        </strong>
       </span>
      </a>
      command-line client. See
      <a class="xref" href="command-line-options.html" title="6.2.2.1 Using Options on the Command Line">
       Section 6.2.2.1, “Using Options on the Command Line”
      </a>
      .
     </p>
     <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Note
      </div>
      <p>
       If the management client command to be passed using this
              option contains any space characters, then the command
       <span class="emphasis">
        <em>
         must
        </em>
       </span>
       be enclosed in quotation marks.
              Either single or double quotation marks may be used. If
              the management client command contains no space
              characters, the quotation marks are optional.
      </p>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_help">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_help">
       <code class="option">
        --help
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106220464">
     </a>
     <a class="indexterm" name="idm46045106218976">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for help">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --help
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_login-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_login-path">
       <code class="option">
        --login-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106209120">
     </a>
     <a class="indexterm" name="idm46045106207632">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for login-path">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --login-path=path
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Read given path from login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_no-login-paths">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_no-login-paths">
       <code class="option">
        --no-login-paths
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106193424">
     </a>
     <a class="indexterm" name="idm46045106191936">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-login-paths">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-login-paths
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Skips reading options from the login path file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-connectstring">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106182272">
     </a>
     <a class="indexterm" name="idm46045106180816">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-connectstring">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-connectstring=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Set connect string for connecting to
      <a class="link" href="mysql-cluster-programs-ndb-mgmd.html" title="25.5.4 ndb_mgmd — The NDB Cluster Management Server Daemon">
       <span class="command">
        <strong>
         ndb_mgmd
        </strong>
       </span>
      </a>
      . Syntax:
            [
      <code class="literal">
       nodeid=
       <em class="replaceable">
        <code>
         id
        </code>
       </em>
       ;
      </code>
      ][
      <code class="literal">
       host=
      </code>
      ]
      <code class="literal">
       <em class="replaceable">
        <code>
         hostname
        </code>
       </em>
      </code>
      [
      <code class="literal">
       :
       <em class="replaceable">
        <code>
         port
        </code>
       </em>
      </code>
      ].
            Overrides entries in
      <code class="literal">
       NDB_CONNECTSTRING
      </code>
      and
      <code class="filename">
       my.cnf
      </code>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-nodeid">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-nodeid">
       <code class="option">
        --ndb-nodeid
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106160208">
     </a>
     <a class="indexterm" name="idm46045106158720">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-nodeid">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-nodeid=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Set node ID for this node, overriding any ID set by
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-mgm-tls">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-mgm-tls">
       <code class="option">
        --ndb-mgm-tls
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106143440">
     </a>
     <a class="indexterm" name="idm46045106141952">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-mgm-tls">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-mgm-tls=level
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Enumeration
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           relaxed
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Valid Values
         </th>
         <td>
          <p class="valid-value">
           <code class="literal">
            relaxed
           </code>
          </p>
          <p class="valid-value">
           <code class="literal">
            strict
           </code>
          </p>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Sets the level of TLS support required to connect to the
            management server; one of
      <code class="literal">
       relaxed
      </code>
      or
      <code class="literal">
       strict
      </code>
      .
      <code class="literal">
       relaxed
      </code>
      (the
            default) means that a TLS connection is attempted, but
            success is not required;
      <code class="literal">
       strict
      </code>
      means
            that TLS is required to connect.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-mgmd-host">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-mgmd-host">
       <code class="option">
        --ndb-mgmd-host
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106120896">
     </a>
     <a class="indexterm" name="idm46045106119408">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-mgmd-host">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-mgmd-host=connection_string
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           [none]
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Same as
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-optimized-node-selection">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-optimized-node-selection">
       <code class="option">
        --ndb-optimized-node-selection
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106104144">
     </a>
     <a class="indexterm" name="idm46045106102640">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-optimized-node-selection">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-optimized-node-selection
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Enable optimizations for selection of nodes for
            transactions. Enabled by default; use
      <code class="option">
       --skip-ndb-optimized-node-selection
      </code>
      to
            disable.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_ndb-tls-search-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_ndb-tls-search-path">
       <code class="option">
        --ndb-tls-search-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106092288">
     </a>
     <a class="indexterm" name="idm46045106090832">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for ndb-tls-search-path">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --ndb-tls-search-path=list
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Path name
         </td>
        </tr>
        <tr>
         <th>
          Default Value (Unix)
         </th>
         <td>
          <code class="literal">
           $HOME/ndb-tls
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Default Value (Windows)
         </th>
         <td>
          <code class="literal">
           $HOMEDIR/ndb-tls
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Specify a list of directories to search for a CA file. On
            Unix platforms, the directory names are separated by colons
            (
      <code class="literal">
       :
      </code>
      ); on Windows systems, the semicolon
            character (
      <code class="literal">
       ;
      </code>
      ) is used as the separator. A
            directory reference may be relative or absolute; it may
            contain one or more environment variables, each denoted by a
            prefixed dollar sign (
      <code class="literal">
       $
      </code>
      ), and expanded
            prior to use.
     </p>
     <p>
      Searching begins with the leftmost named directory and
            proceeds from left to right until a file is found. An empty
            string denotes an empty search path, which causes all
            searches to fail. A string consisting of a single dot
            (
      <code class="literal">
       .
      </code>
      ) indicates that the search path
            limited to the current working directory.
     </p>
     <p>
      If no search path is supplied, the compiled-in default value
            is used. This value depends on the platform used: On
            Windows, this is
      <code class="literal">
       \ndb-tls
      </code>
      ; on other
            platforms (including Linux), it is
      <code class="literal">
       $HOME/ndb-tls
      </code>
      . This can be overridden by
            compiling NDB Cluster using
      <a class="link" href="source-configuration-options.html#option_cmake_with_ndb_tls_search_path">
       <code class="option">
        -DWITH_NDB_TLS_SEARCH_PATH
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_no-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_no-defaults">
       <code class="option">
        --no-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106067072">
     </a>
     <a class="indexterm" name="idm46045106065584">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for no-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --no-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Do not read default options from any option file other than
            login file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_print-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_print-defaults">
       <code class="option">
        --print-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106055696">
     </a>
     <a class="indexterm" name="idm46045106054208">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for print-defaults">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --print-defaults
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Print program argument list and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_test-tls">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_test-tls">
       <code class="option">
        --test-tls
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106044720">
     </a>
     <a class="indexterm" name="idm46045106043232">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for test-tls">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --test-tls
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Connect using TLS, then exit. Output if successful is
            similar to what is shown here:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa33989433"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal">&gt;$ ndb_mgm <span class="token property">--test-tls</span>
Connected to Management Server at<span class="token punctuation">:</span> sakila<span class="token punctuation">:</span>1186
&gt;$</code></pre>
     </div>
     <p>
      See
      <a class="xref" href="mysql-cluster-tls.html" title="25.6.15 TLS Link Encryption for NDB Cluster">
       Section 25.6.15, “TLS Link Encryption for NDB Cluster”
      </a>
      , for more
            information.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_try-reconnect">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_try-reconnect">
       <code class="option">
        --try-reconnect=
        <em class="replaceable">
         <code>
          number
         </code>
        </em>
       </code>
      </a>
     </p>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for try-reconnect">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --try-reconnect=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Deprecated
         </th>
         <td>
          Yes
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Numeric
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           12
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           3
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           0
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           4294967295
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      If the connection to the management server is broken, the
            node tries to reconnect to it every 5 seconds until it
            succeeds. By using this option, it is possible to limit the
            number of attempts to
      <em class="replaceable">
       <code>
        number
       </code>
      </em>
      before giving up and reporting an error instead.
     </p>
     <p>
      This option is deprecated and subject to removal in a future
            release. Use
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_connect-retries">
       <code class="option">
        --connect-retries
       </code>
      </a>
      , instead.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_usage">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_usage">
       <code class="option">
        --usage
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045106004256">
     </a>
     <a class="indexterm" name="idm46045106002768">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for usage">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --usage
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display help text and exit; same as
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_help">
       <code class="option">
        --help
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_mgm_version">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-mgm.html#option_ndb_mgm_version">
       <code class="option">
        --version
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045105992160">
     </a>
     <a class="indexterm" name="idm46045105990672">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for version">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --version
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Display version information and exit.
     </p>
    </li>
   </ul>
  </div>
  <p>
   Additional information about using
   <a class="link" href="mysql-cluster-programs-ndb-mgm.html" title="25.5.5 ndb_mgm — The NDB Cluster Management Client">
    <span class="command">
     <strong>
      ndb_mgm
     </strong>
    </span>
   </a>
   can be found in
   <a class="xref" href="mysql-cluster-mgm-client-commands.html" title="25.6.1 Commands in the NDB Cluster Management Client">
    Section 25.6.1, “Commands in the NDB Cluster Management Client”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
