<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="mysql-cluster-programs-ndb-print-file">
      </a>
      25.5.18 ndb_print_file — Print NDB Disk Data File Contents
     </h3>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045100177968">
  </a>
  <p>
   <a class="link" href="mysql-cluster-programs-ndb-print-file.html" title="25.5.18 ndb_print_file — Print NDB Disk Data File Contents">
    <span class="command">
     <strong>
      ndb_print_file
     </strong>
    </span>
   </a>
   obtains information from an
        NDB Cluster Disk Data file.
  </p>
  <h4>
   <a name="idm46045100175136">
   </a>
   Usage
  </h4>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa42513931"><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">ndb_print_file <span class="token punctuation">[</span><span class="token property">-v</span><span class="token punctuation">]</span> <span class="token punctuation">[</span><span class="token property">-q</span><span class="token punctuation">]</span> <em class="replaceable">file_name</em>+</code></pre>
  </div>
  <p>
   <em class="replaceable">
    <code>
     file_name
    </code>
   </em>
   is the name of an NDB
        Cluster Disk Data file. Multiple filenames are accepted,
        separated by spaces.
  </p>
  <p>
   Like
   <a class="link" href="mysql-cluster-programs-ndb-print-schema-file.html" title="25.5.20 ndb_print_schema_file — Print NDB Schema File Contents">
    <span class="command">
     <strong>
      ndb_print_schema_file
     </strong>
    </span>
   </a>
   and
   <a class="link" href="mysql-cluster-programs-ndb-print-sys-file.html" title="25.5.21 ndb_print_sys_file — Print NDB System File Contents">
    <span class="command">
     <strong>
      ndb_print_sys_file
     </strong>
    </span>
   </a>
   (and unlike most of the
        other
   <a class="link" href="mysql-cluster.html" title="Chapter 25 MySQL NDB Cluster 8.4">
    <code class="literal">
     NDB
    </code>
   </a>
   utilities that are
        intended to be run on a management server host or to connect to
        a management server)
   <a class="link" href="mysql-cluster-programs-ndb-print-file.html" title="25.5.18 ndb_print_file — Print NDB Disk Data File Contents">
    <span class="command">
     <strong>
      ndb_print_file
     </strong>
    </span>
   </a>
   must be
        run on an NDB Cluster data node, since it accesses the data node
        file system directly. Because it does not make use of the
        management server, this utility can be used when the management
        server is not running, and even when the cluster has been
        completely shut down.
  </p>
  <h4>
   <a name="idm46045100166096">
   </a>
   Options
  </h4>
  <p>
  </p>
  <p>
   <a class="link" href="mysql-cluster-programs-ndb-print-file.html" title="25.5.18 ndb_print_file — Print NDB Disk Data File Contents">
    <span class="command">
     <strong>
      ndb_print_file
     </strong>
    </span>
   </a>
   supports the following
        options:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_file-key">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_file-key">
       <code class="option">
        --file-key
       </code>
      </a>
      ,
      <code class="option">
       -K
      </code>
     </p>
     <a class="indexterm" name="idm46045100160448">
     </a>
     <a class="indexterm" name="idm46045100158960">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for file-key">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --file-key=hex_data
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Supply file system encryption or decryption key from
      <code class="literal">
       stdin
      </code>
      ,
      <code class="literal">
       tty
      </code>
      , or a
      <code class="filename">
       my.cnf
      </code>
      file.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_file-key-from-stdin">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_file-key-from-stdin">
       <code class="option">
        --file-key-from-stdin
       </code>
      </a>
     </p>
     <a class="indexterm" name="idm46045100147072">
     </a>
     <a class="indexterm" name="idm46045100145568">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for file-key-from-stdin">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --file-key-from-stdin
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Type
         </th>
         <td>
          Boolean
         </td>
        </tr>
        <tr>
         <th>
          Default Value
         </th>
         <td>
          <code class="literal">
           FALSE
          </code>
         </td>
        </tr>
        <tr>
         <th>
          Valid Values
         </th>
         <td>
          <code class="literal">
           TRUE
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Supply file system encryption or decryption key from
      <code class="literal">
       stdin
      </code>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_help">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_help">
       <code class="option">
        --help
       </code>
      </a>
      ,
      <code class="option">
       -h
      </code>
      ,
      <code class="option">
       -?
      </code>
     </p>
     <a class="indexterm" name="idm46045100127312">
     </a>
     <a class="indexterm" name="idm46045100125824">
     </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>
      Print help message and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_quiet">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_quiet">
       <code class="option">
        --quiet
       </code>
      </a>
      ,
      <code class="option">
       -q
      </code>
     </p>
     <a class="indexterm" name="idm46045100115600">
     </a>
     <a class="indexterm" name="idm46045100114112">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for quiet">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --quiet
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Suppress output (quiet mode).
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_usage">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_usage">
       <code class="option">
        --usage
       </code>
      </a>
      ,
      <code class="option">
       -?
      </code>
     </p>
     <a class="indexterm" name="idm46045100103952">
     </a>
     <a class="indexterm" name="idm46045100102464">
     </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>
      Print help message and exit.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_verbose">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_verbose">
       <code class="option">
        --verbose
       </code>
      </a>
      ,
      <code class="option">
       -v
      </code>
     </p>
     <a class="indexterm" name="idm46045100092368">
     </a>
     <a class="indexterm" name="idm46045100090880">
     </a>
     <div class="informaltable">
      <table frame="box" rules="all" summary="Properties for verbose">
       <colgroup>
        <col style="width: 30%"/>
        <col style="width: 70%"/>
       </colgroup>
       <tbody>
        <tr>
         <th>
          Command-Line Format
         </th>
         <td>
          <code class="literal">
           --verbose
          </code>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <p>
      Make output verbose.
     </p>
    </li>
    <li class="listitem">
     <p>
      <a name="option_ndb_print_file_version">
      </a>
      <a class="link" href="mysql-cluster-programs-ndb-print-file.html#option_ndb_print_file_version">
       <code class="option">
        --version
       </code>
      </a>
      ,
      <code class="option">
       -v
      </code>
     </p>
     <a class="indexterm" name="idm46045100080720">
     </a>
     <a class="indexterm" name="idm46045100079232">
     </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>
      Print version information and exit.
     </p>
    </li>
   </ul>
  </div>
  <p>
   For more information, 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>
 </div>
 <br/>
</div>
