<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndbd">
      </a>
      25.5.1 ndbd — The NDB Cluster Data Node Daemon
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045108436576">
  </a>
  <a class="indexterm" name="idm46045108435632">
  </a>
  <a class="indexterm" name="idm46045108434272">
  </a>
  <a class="indexterm" name="idm46045108432912">
  </a>
  <a class="indexterm" name="idm46045108432000">
  </a>
  <p>
   The
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   binary provides the single-threaded
        version of the process that is used to handle all the data in
        tables employing the
   <code class="literal">
    NDBCLUSTER
   </code>
   storage
        engine. This data node process enables a data node to accomplish
        distributed transaction handling, node recovery, checkpointing
        to disk, online backup, and related tasks. In NDB 8.4.1 and
        later, when started,
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   logs a warning
        similar to that shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa64625762"><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">2024-05-28 13<span class="token punctuation">:</span>32<span class="token punctuation">:</span>16 <span class="token punctuation">[</span>ndbd<span class="token punctuation">]</span> WARNING  <span class="token property">--</span> Running ndbd with a single thread of
signal execution<span class="token punctuation">.</span>  For multi-threaded signal execution run the ndbmtd binary<span class="token punctuation">.</span></code></pre>
  </div>
  <p>
   <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
    <span class="command">
     <strong>
      ndbmtd
     </strong>
    </span>
   </a>
   is the multi-threaded version of this
        binary.
  </p>
  <p>
   In an NDB Cluster, a set of
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   processes
        cooperate in handling data. These processes can execute on the
        same computer (host) or on different computers. The
        correspondences between data nodes and Cluster hosts is
        completely configurable.
  </p>
  <a class="indexterm" name="idm46045108421648">
  </a>
  <a class="indexterm" name="idm46045108420160">
  </a>
  <a class="indexterm" name="idm46045108418672">
  </a>
  <a class="indexterm" name="idm46045108417216">
  </a>
  <p>
   Options that can be used with
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   are shown
        in the following table. Additional descriptions follow the
        table.
  </p>
  <p>
  </p>
  <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
   <div class="admon-title">
    Note
   </div>
   <p>
    All of these options also apply to the multithreaded version
          of this program (
    <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
     <span class="command">
      <strong>
       ndbmtd
      </strong>
     </span>
    </a>
    ) and you may
          substitute
    <span class="quote">
     “
     <span class="quote">
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
     </span>
     ”
    </span>
    for
    <span class="quote">
     “
     <span class="quote">
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
     </span>
     ”
    </span>
    wherever the latter
          occurs in this section.
   </p>
  </div>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_ndbd_bind-address">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_bind-address">
       <code class="option">
        --bind-address
       </code>
      </a>
     </p>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for bind-address">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --bind-address=name
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Causes
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      to bind to a specific network
            interface (host name or IP address). This option has no
            default value.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_character-sets-dir">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_character-sets-dir">
       <code class="option">
        --character-sets-dir
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108392032">
     </a>
     <a class="indexterm" name="idm46045108390576">
     </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_ndbd_connect-delay">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-delay">
       <code class="option">
        --connect-delay=
        <em class="replaceable">
         <code>
          #
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108380464">
     </a>
     <a class="indexterm" name="idm46045108378976">
     </a>
     <a class="indexterm" name="idm46045108377488">
     </a>
     <a class="indexterm" name="idm46045108376000">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for connect-delay">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --connect-delay=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Deprecated
         </th>
         <td>
          Yes
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Numeric
         </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">
           3600
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Determines the time to wait between attempts to contact a
            management server when starting (the number of attempts is
            controlled by the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retries">
       <code class="option">
        --connect-retries
       </code>
      </a>
      option). The
            default is 5 seconds.
     </p>
     <p>
      This option is deprecated, and is subject to removal in a
            future release of NDB Cluster. Use
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retry-delay">
       <code class="option">
        --connect-retry-delay
       </code>
      </a>
      instead.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_connect-retries">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retries">
       <code class="option">
        --connect-retries=
        <em class="replaceable">
         <code>
          #
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108351696">
     </a>
     <a class="indexterm" name="idm46045108350208">
     </a>
     <a class="indexterm" name="idm46045108348720">
     </a>
     <a class="indexterm" name="idm46045108347232">
     </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">
           12
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           -1
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           65535
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Set the number of times to retry a connection before giving
            up; 0 means 1 attempt only (and no retries). The default is
            12 attempts. The time to wait between attempts is controlled
            by the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retry-delay">
       <code class="option">
        --connect-retry-delay
       </code>
      </a>
      option.
     </p>
     <p>
      It is also possible to set this option to -1, in which case,
            the data node process continues indefinitely to try to
            connect.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_connect-retry-delay">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retry-delay">
       <code class="option">
        --connect-retry-delay=
        <em class="replaceable">
         <code>
          #
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108326288">
     </a>
     <a class="indexterm" name="idm46045108324832">
     </a>
     <a class="indexterm" name="idm46045108323328">
     </a>
     <a class="indexterm" name="idm46045108321824">
     </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>
          Numeric
         </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">
           4294967295
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Determines the time to wait between attempts to contact a
            management server when starting (the time between attempts
            is controlled by the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-retries">
       <code class="option">
        --connect-retries
       </code>
      </a>
      option). The
            default is 5 seconds.
     </p>
     <p>
      This option takes the place of the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-delay">
       <code class="option">
        --connect-delay
       </code>
      </a>
      option, which
            is now deprecated and subject to removal in a future release
            of NDB Cluster.
     </p>
     <p>
      The short form
      <code class="option">
       -r
      </code>
      for this option is also
            deprecated, and thus subject to removal. Use the long form
            instead.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_connect-string">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_connect-string">
       <code class="option">
        --connect-string
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108298896">
     </a>
     <a class="indexterm" name="idm46045108297408">
     </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-ndbd.html#option_ndbd_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_core-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_core-file">
       <code class="option">
        --core-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108282048">
     </a>
     <a class="indexterm" name="idm46045108280560">
     </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_ndbd_daemon">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_daemon">
       <code class="option">
        --daemon
       </code>
      </a>
      ,
      <code class="option">
       -d
      </code>
     </p>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for daemon">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --daemon
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Instructs
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      or
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      to execute as a daemon process.
            This is the default behavior.
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nodaemon">
       <code class="option">
        --nodaemon
       </code>
      </a>
      can be used to
            prevent the process from running as a daemon.
     </p>
     <p>
      This option has no effect when running
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      or
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      on
            Windows platforms.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_defaults-extra-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_defaults-extra-file">
       <code class="option">
        --defaults-extra-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108255440">
     </a>
     <a class="indexterm" name="idm46045108253984">
     </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_ndbd_defaults-file">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_defaults-file">
       <code class="option">
        --defaults-file
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108239568">
     </a>
     <a class="indexterm" name="idm46045108238080">
     </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_ndbd_defaults-group-suffix">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_defaults-group-suffix">
       <code class="option">
        --defaults-group-suffix
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108223808">
     </a>
     <a class="indexterm" name="idm46045108222352">
     </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_ndbd_filesystem-password">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_filesystem-password">
       <code class="option">
        --filesystem-password
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108208112">
     </a>
     <a class="indexterm" name="idm46045108206656">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for filesystem-password">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --filesystem-password=password
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Pass the filesystem encryption and decryption password to
            the data node process using
      <code class="literal">
       stdin
      </code>
      ,
      <code class="literal">
       tty
      </code>
      , or the
      <code class="filename">
       my.cnf
      </code>
      file.
     </p>
     <p>
      Requires
      <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-encryptedfilesystem">
       <code class="literal">
        EncryptedFileSystem =
            1
       </code>
      </a>
      .
     </p>
     <p>
      For more information, see
      <a class="xref" href="mysql-cluster-tde.html" title="25.6.14 File System Encryption for NDB Cluster">
       Section 25.6.14, “File System Encryption for NDB Cluster”
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_filesystem-password-from-stdin">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_filesystem-password-from-stdin">
       <code class="option">
        --filesystem-password-from-stdin
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108191824">
     </a>
     <a class="indexterm" name="idm46045108190320">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for filesystem-password-from-stdin">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --filesystem-password-from-stdin={TRUE|FALSE}
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Pass the filesystem encryption and decryption password to
            the data node process from
      <code class="literal">
       stdin
      </code>
      (only).
     </p>
     <p>
      Requires
      <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-encryptedfilesystem">
       <code class="literal">
        EncryptedFileSystem =
            1
       </code>
      </a>
      .
     </p>
     <p>
      For more information, see
      <a class="xref" href="mysql-cluster-tde.html" title="25.6.14 File System Encryption for NDB Cluster">
       Section 25.6.14, “File System Encryption for NDB Cluster”
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_foreground">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_foreground">
       <code class="option">
        --foreground
       </code>
      </a>
     </p>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for foreground">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --foreground
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Causes
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      or
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      to execute as a foreground process, primarily for debugging
            purposes. This option implies the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nodaemon">
       <code class="option">
        --nodaemon
       </code>
      </a>
      option.
     </p>
     <p>
      This option has no effect when running
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      or
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      on
            Windows platforms.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_help">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_help">
       <code class="option">
        --help
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108162224">
     </a>
     <a class="indexterm" name="idm46045108160736">
     </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_ndbd_initial">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial">
       <code class="option">
        --initial
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108151168">
     </a>
     <a class="indexterm" name="idm46045108149680">
     </a>
     <a class="indexterm" name="idm46045108148192">
     </a>
     <a class="indexterm" name="idm46045108146704">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for initial">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --initial
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Instructs
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      to perform an initial
            start. An initial start erases any files created for
            recovery purposes by earlier instances of
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      . It also re-creates recovery log
            files. On some operating systems, this process can take a
            substantial amount of time.
     </p>
     <p>
      The option also causes the removal of all data files
            associated with Disk Data tablespaces and undo log files
            associated with log file groups that existed previously on
            this data node (see
      <a class="xref" href="mysql-cluster-disk-data.html" title="25.6.11 NDB Cluster Disk Data Tables">
       Section 25.6.11, “NDB Cluster Disk Data Tables”
      </a>
      ).
     </p>
     <p>
      An
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial">
       <code class="option">
        --initial
       </code>
      </a>
      start is to be
            used
      <span class="emphasis">
       <em>
        only
       </em>
      </span>
      when starting the
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process under very special
            circumstances; this is because this option causes all files
            to be removed from the NDB Cluster file system and all redo
            log files to be re-created. These circumstances are listed
            here:
     </p>
     <div class="itemizedlist">
      <ul class="itemizedlist" style="list-style-type: circle; ">
       <li class="listitem">
        <p>
         When performing a software upgrade which has changed the
                contents of any files.
        </p>
       </li>
       <li class="listitem">
        <p>
         When restarting the node with a new version of
         <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
          <span class="command">
           <strong>
            ndbd
           </strong>
          </span>
         </a>
         .
        </p>
       </li>
       <li class="listitem">
        <p>
         As a measure of last resort when for some reason the
                node restart or system restart repeatedly fails. In this
                case, be aware that this node can no longer be used to
                restore data due to the destruction of the data files.
        </p>
       </li>
      </ul>
     </div>
     <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Warning
      </div>
      <p>
       To avoid the possibility of eventual data loss, it is
              recommended that you
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       use the
       <code class="option">
        --initial
       </code>
       option together with
       <code class="literal">
        StopOnError = 0
       </code>
       . Instead, set
       <code class="literal">
        StopOnError
       </code>
       to 0 in
       <code class="filename">
        config.ini
       </code>
       only after the cluster has
              been started, then restart the data nodes
              normally—that is, without the
       <code class="option">
        --initial
       </code>
       option. See the description of
              the
       <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-stoponerror">
        <code class="literal">
         StopOnError
        </code>
       </a>
       parameter for a detailed explanation of this issue. (Bug
              #24945638)
      </p>
     </div>
     <p>
      Use of this option prevents the
      <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-startpartialtimeout">
       <code class="literal">
        StartPartialTimeout
       </code>
      </a>
      and
      <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-startpartitionedtimeout">
       <code class="literal">
        StartPartitionedTimeout
       </code>
      </a>
      configuration parameters from having any effect.
     </p>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       This option does
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       affect backup
              files that have already been created by the affected node.
      </p>
      <p>
       This option also has no effect on recovery of data by a
              data node that is just starting (or restarting) from data
              nodes that are already running (unless they also were
              started with
       <code class="option">
        --initial
       </code>
       , as part of an
              initial restart). This recovery of data occurs
              automatically, and requires no user intervention in an NDB
              Cluster that is running normally.
      </p>
     </div>
     <p>
      It is permissible to use this option when starting the
            cluster for the very first time (that is, before any data
            node files have been created); however, it is
      <span class="emphasis">
       <em>
        not
       </em>
      </span>
      necessary to do so.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_initial-start">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial-start">
       <code class="option">
        --initial-start
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108111280">
     </a>
     <a class="indexterm" name="idm46045108109792">
     </a>
     <a class="indexterm" name="idm46045108108304">
     </a>
     <a class="indexterm" name="idm46045108106816">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for initial-start">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --initial-start
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option is used when performing a partial initial start
            of the cluster. Each node should be started with this
            option, as well as
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nowait-nodes">
       <code class="option">
        --nowait-nodes
       </code>
      </a>
      .
     </p>
     <p>
      Suppose that you have a 4-node cluster whose data nodes have
            the IDs 2, 3, 4, and 5, and you wish to perform a partial
            initial start using only nodes 2, 4, and 5—that is,
            omitting node 3:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting language-terminal"><div class="docs-select-all right" id="sa53739334"><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">ndbd</span> <span class="token constant">--ndb-nodeid</span><span class="token attr-value"><span class="token punctuation">=</span>2</span> <span class="token constant">--nowait-nodes</span><span class="token attr-value"><span class="token punctuation">=</span>3</span> <span class="token property">--initial-start</span>
<span class="token prompt">$&gt; </span><span class="token command">ndbd</span> <span class="token constant">--ndb-nodeid</span><span class="token attr-value"><span class="token punctuation">=</span>4</span> <span class="token constant">--nowait-nodes</span><span class="token attr-value"><span class="token punctuation">=</span>3</span> <span class="token property">--initial-start</span>
<span class="token prompt">$&gt; </span><span class="token command">ndbd</span> <span class="token constant">--ndb-nodeid</span><span class="token attr-value"><span class="token punctuation">=</span>5</span> <span class="token constant">--nowait-nodes</span><span class="token attr-value"><span class="token punctuation">=</span>3</span> <span class="token property">--initial-start</span></code></pre>
     </div>
     <p>
      When using this option, you must also specify the node ID
            for the data node being started with the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-nodeid">
       <code class="option">
        --ndb-nodeid
       </code>
      </a>
      option.
     </p>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       Do not confuse this option with the
       <a class="link" href="mysql-cluster-programs-ndb-mgmd.html#option_ndb_mgmd_nowait-nodes">
        <code class="option">
         --nowait-nodes
        </code>
       </a>
       option for
       <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>
       , which can be used to enable a
              cluster configured with multiple management servers to be
              started without all management servers being online.
      </p>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_install">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_install">
       <code class="option">
        --install[=
        <em class="replaceable">
         <code>
          name
         </code>
        </em>
        ]
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108086592">
     </a>
     <a class="indexterm" name="idm46045108085104">
     </a>
     <a class="indexterm" name="idm46045108083616">
     </a>
     <a class="indexterm" name="idm46045108082128">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for install">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --install[=name]
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Platform Specific
         </th>
         <td>
          Windows
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           ndbd
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Causes
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      to be installed as a Windows
            service. Optionally, you can specify a name for the service;
            if not set, the service name defaults to
      <code class="literal">
       ndbd
      </code>
      . Although it is preferable to
            specify other
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      program options in a
      <code class="filename">
       my.ini
      </code>
      or
      <code class="filename">
       my.cnf
      </code>
      configuration file, it is possible to use together with
      <code class="option">
       --install
      </code>
      . However, in such cases, the
      <code class="option">
       --install
      </code>
      option must be specified first,
            before any other options are given, for the Windows service
            installation to succeed.
     </p>
     <p>
      It is generally not advisable to use this option together
            with the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial">
       <code class="option">
        --initial
       </code>
      </a>
      option,
            since this causes the data node file system to be wiped and
            rebuilt every time the service is stopped and started.
            Extreme care should also be taken if you intend to use any
            of the other
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      options that affect the
            starting of data nodes—including
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_initial-start">
       <code class="option">
        --initial-start
       </code>
      </a>
      ,
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nostart">
       <code class="option">
        --nostart
       </code>
      </a>
      , and
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nowait-nodes">
       <code class="option">
        --nowait-nodes
       </code>
      </a>
      —together
            with
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_install">
       <code class="option">
        --install
       </code>
      </a>
      , and you should
            make absolutely certain you fully understand and allow for
            any possible consequences of doing so.
     </p>
     <p>
      The
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_install">
       <code class="option">
        --install
       </code>
      </a>
      option has no
            effect on non-Windows platforms.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_logbuffer-size">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_logbuffer-size">
       <code class="option">
        --logbuffer-size=
        <em class="replaceable">
         <code>
          #
         </code>
        </em>
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108050864">
     </a>
     <a class="indexterm" name="idm46045108049376">
     </a>
     <a class="indexterm" name="idm46045108047888">
     </a>
     <a class="indexterm" name="idm46045108046400">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for logbuffer-size">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --logbuffer-size=#
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Integer
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           32768
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Minimum Value
         </th>
         <td>
          <code class="literal">
           2048
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Maximum Value
         </th>
         <td>
          <code class="literal">
           4294967295
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Sets the size of the data node log buffer. When debugging
            with high amounts of extra logging, it is possible for the
            log buffer to run out of space if there are too many log
            messages, in which case some log messages can be lost. This
            should not occur during normal operations.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_login-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_login-path">
       <code class="option">
        --login-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108027056">
     </a>
     <a class="indexterm" name="idm46045108025568">
     </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_ndbd_no-login-paths">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_no-login-paths">
       <code class="option">
        --no-login-paths
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108011248">
     </a>
     <a class="indexterm" name="idm46045108009760">
     </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_ndbd_ndb-connectstring">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045108000160">
     </a>
     <a class="indexterm" name="idm46045107998704">
     </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 connection 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>
       ;][host=]
       <em class="replaceable">
        <code>
         hostname
        </code>
       </em>
       [:
       <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_ndbd_ndb-mgmd-host">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-mgmd-host">
       <code class="option">
        --ndb-mgmd-host
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107979664">
     </a>
     <a class="indexterm" name="idm46045107978176">
     </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-ndbd.html#option_ndbd_ndb-connectstring">
       <code class="option">
        --ndb-connectstring
       </code>
      </a>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_ndb-mgm-tls">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-mgm-tls">
       <code class="option">
        --ndb-mgm-tls
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107963056">
     </a>
     <a class="indexterm" name="idm46045107961568">
     </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_ndbd_ndb-nodeid">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-nodeid">
       <code class="option">
        --ndb-nodeid
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107940688">
     </a>
     <a class="indexterm" name="idm46045107939200">
     </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
            --ndb-connectstring.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_ndb-optimized-node-selection">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-optimized-node-selection">
       <code class="option">
        --ndb-optimized-node-selection
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107924800">
     </a>
     <a class="indexterm" name="idm46045107923296">
     </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_ndbd_ndb-tls-search-path">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_ndb-tls-search-path">
       <code class="option">
        --ndb-tls-search-path
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107913008">
     </a>
     <a class="indexterm" name="idm46045107911552">
     </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_ndbd_nodaemon">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nodaemon">
       <code class="option">
        --nodaemon
       </code>
      </a>
     </p>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for nodaemon">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --nodaemon
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Prevents
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      or
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      from executing as a daemon
            process. This option overrides the
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_daemon">
       <code class="option">
        --daemon
       </code>
      </a>
      option. This is useful
            for redirecting output to the screen when debugging the
            binary.
     </p>
     <p>
      The default behavior for
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      and
      <a class="link" href="mysql-cluster-programs-ndbmtd.html" title="25.5.3 ndbmtd — The NDB Cluster Data Node Daemon (Multi-Threaded)">
       <span class="command">
        <strong>
         ndbmtd
        </strong>
       </span>
      </a>
      on Windows is to run in the
            foreground, making this option unnecessary on Windows
            platforms, where it has no effect.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_no-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_no-defaults">
       <code class="option">
        --no-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107872960">
     </a>
     <a class="indexterm" name="idm46045107871472">
     </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_ndbd_nostart">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nostart">
       <code class="option">
        --nostart
       </code>
      </a>
      ,
      <code class="option">
       -n
      </code>
     </p>
     <a class="indexterm" name="idm46045107861504">
     </a>
     <a class="indexterm" name="idm46045107860016">
     </a>
     <a class="indexterm" name="idm46045107858528">
     </a>
     <a class="indexterm" name="idm46045107857040">
     </a>
     <a class="indexterm" name="idm46045107855552">
     </a>
     <a class="indexterm" name="idm46045107854064">
     </a>
     <a class="indexterm" name="idm46045107852576">
     </a>
     <a class="indexterm" name="idm46045107851088">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for nostart">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --nostart
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Instructs
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      not to start
            automatically. When this option is used,
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      connects to the management server,
            obtains configuration data from it, and initializes
            communication objects. However, it does not actually start
            the execution engine until specifically requested to do so
            by the management server. This can be accomplished by
            issuing the proper
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-start">
       <code class="literal">
        START
       </code>
      </a>
      command in the management client (see
      <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>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_nowait-nodes">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_nowait-nodes">
       <code class="option">
        --nowait-nodes=
        <em class="replaceable">
         <code>
          node_id_1
         </code>
        </em>
        [,
        <em class="replaceable">
         <code>
          node_id_2
         </code>
        </em>
        [, ...]]
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107835600">
     </a>
     <a class="indexterm" name="idm46045107834112">
     </a>
     <a class="indexterm" name="idm46045107832624">
     </a>
     <a class="indexterm" name="idm46045107831136">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for nowait-nodes">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --nowait-nodes=list
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      This option takes a list of data nodes for which the cluster
            does not wait, prior to starting.
     </p>
     <p>
      This can be used to start the cluster in a partitioned
            state. For example, to start the cluster with only half of
            the data nodes (nodes 2, 3, 4, and 5) running in a 4-node
            cluster, you can start each
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process
            with
      <code class="option">
       --nowait-nodes=3,5
      </code>
      . In this case, the
            cluster starts as soon as nodes 2 and 4 connect, and does
      <span class="emphasis">
       <em>
        not
       </em>
      </span>
      wait
      <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-startpartitionedtimeout">
       <code class="literal">
        StartPartitionedTimeout
       </code>
      </a>
      milliseconds for nodes 3 and 5 to connect as it would
            otherwise.
     </p>
     <p>
      If you wanted to start up the same cluster as in the
            previous example without one
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      (say,
            for example, that the host machine for node 3 has suffered a
            hardware failure) then start nodes 2, 4, and 5 with
      <code class="option">
       --nowait-nodes=3
      </code>
      . Then the cluster starts
            as soon as nodes 2, 4, and 5 connect, and does not wait for
            node 3 to start.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_print-defaults">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_print-defaults">
       <code class="option">
        --print-defaults
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107810304">
     </a>
     <a class="indexterm" name="idm46045107808816">
     </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_ndbd_remove">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_remove">
       <code class="option">
        --remove[=
        <em class="replaceable">
         <code>
          name
         </code>
        </em>
        ]
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107798912">
     </a>
     <a class="indexterm" name="idm46045107797424">
     </a>
     <a class="indexterm" name="idm46045107795936">
     </a>
     <a class="indexterm" name="idm46045107794448">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for remove">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --remove[=name]
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Platform Specific
         </th>
         <td>
          Windows
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          String
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           ndbd
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Causes an
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process that was
            previously installed as a Windows service to be removed.
            Optionally, you can specify a name for the service to be
            uninstalled; if not set, the service name defaults to
      <code class="literal">
       ndbd
      </code>
      .
     </p>
     <p>
      The
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_remove">
       <code class="option">
        --remove
       </code>
      </a>
      option has no
            effect on non-Windows platforms.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_usage">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_usage">
       <code class="option">
        --usage
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107774624">
     </a>
     <a class="indexterm" name="idm46045107773136">
     </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 --help.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_verbose">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_verbose">
       <code class="option">
        --verbose
       </code>
      </a>
      ,
      <code class="option">
       -v
      </code>
     </p>
     <a class="indexterm" name="idm46045107763120">
     </a>
     <a class="indexterm" name="idm46045107761632">
     </a>
     <a class="indexterm" name="idm46045107760144">
     </a>
     <a class="indexterm" name="idm46045107758656">
     </a>
     <p>
      Causes extra debug output to be written to the node log.
     </p>
     <p>
      You can also use
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-nodelog-debug">
       <code class="literal">
        NODELOG DEBUG
            ON
       </code>
      </a>
      and
      <a class="link" href="mysql-cluster-mgm-client-commands.html#ndbclient-nodelog-debug">
       <code class="literal">
        NODELOG DEBUG
            OFF
       </code>
      </a>
      to enable and disable this extra logging while
            the data node is running.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndbd_version">
      </a>
      <a class="link" href="mysql-cluster-programs-ndbd.html#option_ndbd_version">
       <code class="option">
        --version
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045107751328">
     </a>
     <a class="indexterm" name="idm46045107749840">
     </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>
  <a class="indexterm" name="idm46045107742128">
  </a>
  <a class="indexterm" name="idm46045107740640">
  </a>
  <p>
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   generates a set of log files which are
        placed in the directory specified by
   <a class="link" href="mysql-cluster-ndbd-definition.html#ndbparam-ndbd-datadir">
    <code class="literal">
     DataDir
    </code>
   </a>
   in the
   <code class="filename">
    config.ini
   </code>
   configuration file.
  </p>
  <p>
   These log files are listed below.
   <em class="replaceable">
    <code>
     node_id
    </code>
   </em>
   is and represents the node's
        unique identifier. For example,
   <code class="filename">
    ndb_2_error.log
   </code>
   is the error log generated
        by the data node whose node ID is
   <code class="literal">
    2
   </code>
   .
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a class="indexterm" name="idm46045107732688">
      </a>
      <a class="indexterm" name="idm46045107731200">
      </a>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       _error.log
      </code>
      is a file containing records of all crashes which the
            referenced
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process has encountered.
            Each record in this file contains a brief error string and a
            reference to a trace file for this crash. A typical entry in
            this file might appear as shown here:
     </p>
     <div class="copytoclipboard-wrapper">
      <pre class="programlisting language-simple"><div class="docs-select-all right" id="sa79311823"><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-simple">Date<span class="token operator">/</span>Time<span class="token operator">:</span> Saturday 30 July 2004 <span class="token operator">-</span> 00<span class="token operator">:</span>20<span class="token operator">:</span>01
Type of error<span class="token operator">:</span> error
Message<span class="token operator">:</span> Internal program error <span class="token punctuation">(</span>failed ndbrequire<span class="token punctuation">)</span>
Fault ID<span class="token operator">:</span> 2341
Problem data<span class="token operator">:</span> DbtupFixAlloc<span class="token punctuation">.</span>cpp
Object of reference<span class="token operator">:</span> DBTUP <span class="token punctuation">(</span>Line<span class="token operator">:</span> 173<span class="token punctuation">)</span>
ProgramName<span class="token operator">:</span> NDB Kernel
ProcessID<span class="token operator">:</span> 14909
TraceFile<span class="token operator">:</span> ndb_2_trace<span class="token punctuation">.</span>log<span class="token punctuation">.</span>2
<span class="token operator">**</span><span class="token operator">*</span>EOM<span class="token operator">**</span><span class="token operator">*</span></code></pre>
     </div>
     <p>
      Listings of possible
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      exit codes and
            messages generated when a data node process shuts down
            prematurely can be found in
      <a class="ulink" href="/doc/ndb-internals/en/ndb-node-error-messages.html" target="_top">
       Data Node Error Messages
      </a>
      .
     </p>
     <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
      <div class="admon-title">
       Important
      </div>
      <p>
       <span class="emphasis">
        <em>
         The last entry in the error log file is not
              necessarily the newest one
        </em>
       </span>
       (nor is it likely to
              be). Entries in the error log are
       <span class="emphasis">
        <em>
         not
        </em>
       </span>
       listed in chronological order; rather, they correspond to
              the order of the trace files as determined in the
       <code class="filename">
        ndb_
        <em class="replaceable">
         <code>
          node_id
         </code>
        </em>
        _trace.log.next
       </code>
       file (see below). Error log entries are thus overwritten
              in a cyclical and not sequential fashion.
      </p>
     </div>
    </li>
    <li class="listitem">
     <p>
      <a class="indexterm" name="idm46045107719616">
      </a>
      <a class="indexterm" name="idm46045107718128">
      </a>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       _trace.log.
       <em class="replaceable">
        <code>
         trace_id
        </code>
       </em>
      </code>
      is a trace file describing exactly what happened just before
            the error occurred. This information is useful for analysis
            by the NDB Cluster development team.
     </p>
     <p>
      It is possible to configure the number of these trace files
            that are created before old files are overwritten.
      <em class="replaceable">
       <code>
        trace_id
       </code>
      </em>
      is a number which is
            incremented for each successive trace file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       _trace.log.next
      </code>
      is the file that keeps track of the next trace file number
            to be assigned.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       _out.log
      </code>
      is a file containing any data output by the
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process. This file is created only
            if
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      is started as a daemon, which is
            the default behavior.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       .pid
      </code>
      is a file containing the process ID of the
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process when started as a daemon. It
            also functions as a lock file to avoid the starting of nodes
            with the same identifier.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="filename">
       ndb_
       <em class="replaceable">
        <code>
         node_id
        </code>
       </em>
       _signal.log
      </code>
      is a file used only in debug versions of
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      , where it is possible to trace all
            incoming, outgoing, and internal messages with their data in
            the
      <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
       <span class="command">
        <strong>
         ndbd
        </strong>
       </span>
      </a>
      process.
     </p>
    </li>
   </ul>
  </div>
  <p>
   It is recommended not to use a directory mounted through NFS
        because in some environments this can cause problems whereby the
        lock on the
   <code class="filename">
    .pid
   </code>
   file remains in effect
        even after the process has terminated.
  </p>
  <p>
   To start
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   , it may also be necessary to
        specify the host name of the management server and the port on
        which it is listening. Optionally, one may also specify the node
        ID that the process is to use.
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa14028626"><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">ndbd</span> <span class="token constant">--connect-string</span>=<span class="token atrule">"nodeid=2;host=ndb_mgmd.mysql.com:1186"</span></code></pre>
  </div>
  <p>
   See
   <a class="xref" href="mysql-cluster-connection-strings.html" title="25.4.3.3 NDB Cluster Connection Strings">
    Section 25.4.3.3, “NDB Cluster Connection Strings”
   </a>
   , for
        additional information about this issue. For more information
        about data node configuration parameters, see
   <a class="xref" href="mysql-cluster-ndbd-definition.html" title="25.4.3.6 Defining NDB Cluster Data Nodes">
    Section 25.4.3.6, “Defining NDB Cluster Data Nodes”
   </a>
   .
  </p>
  <p>
   When
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   starts, it actually initiates two
        processes. The first of these is called the
   <span class="quote">
    “
    <span class="quote">
     angel
        process
    </span>
    ”
   </span>
   ; its only job is to discover when the execution
        process has been completed, and then to restart the
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   process if it is configured to do so.
        Thus, if you attempt to kill
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   using the
        Unix
   <a class="link" href="kill.html" title="15.7.8.4 KILL Statement">
    <span class="command">
     <strong>
      kill
     </strong>
    </span>
   </a>
   command, it is necessary to kill
        both processes, beginning with the angel process. The preferred
        method of terminating an
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   process is to
        use the management client and stop the process from there.
  </p>
  <p>
   The execution process uses one thread for reading, writing, and
        scanning data, as well as all other activities. This thread is
        implemented asynchronously so that it can easily handle
        thousands of concurrent actions. In addition, a watch-dog thread
        supervises the execution thread to make sure that it does not
        hang in an endless loop. A pool of threads handles file I/O,
        with each thread able to handle one open file. Threads can also
        be used for transporter connections by the transporters in the
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   process. In a multi-processor system
        performing a large number of operations (including updates), the
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   process can consume up to 2 CPUs if
        permitted to do so.
  </p>
  <p>
   For a machine with many CPUs it is possible to use several
   <a class="link" href="mysql-cluster-programs-ndbd.html" title="25.5.1 ndbd — The NDB Cluster Data Node Daemon">
    <span class="command">
     <strong>
      ndbd
     </strong>
    </span>
   </a>
   processes which belong to different node
        groups; however, such a configuration is still considered
        experimental and is not supported for MySQL 8.4 in
        a production setting. See
   <a class="xref" href="mysql-cluster-limitations.html" title="25.2.7 Known Limitations of NDB Cluster">
    Section 25.2.7, “Known Limitations of NDB Cluster”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
