Documentation Home
MySQL 8.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 39.8Mb
PDF (A4) - 39.9Mb
Man Pages (TGZ) - 257.9Kb
Man Pages (Zip) - 364.9Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 8.4 Reference Manual  /  ...  /  ndb_print_file — Print NDB Disk Data File Contents

25.5.18 ndb_print_file — 打印 NDB 磁盘数据文件内容

ndb_print_file obtains information from an NDB Cluster Disk Data file.

ndb_print_file [-v] [-q] file_name+

file_name is the name of an NDB Cluster Disk Data file. Multiple filenames are accepted, separated by spaces.

Like ndb_print_schema_file and ndb_print_sys_file (and unlike most of the other NDB utilities that are intended to be run on a management server host or to connect to a management server) ndb_print_file 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.

ndb_print_file supports the following options:

  • --file-key, -K

    Command-Line Format --file-key=hex_data

    Supply file system encryption or decryption key from stdin, tty, or a my.cnf file.

  • --file-key-from-stdin

    Command-Line Format --file-key-from-stdin
    Type Boolean
    Default Value FALSE
    Valid Values TRUE

    Supply file system encryption or decryption key from stdin.

  • --help, -h, -?

    Command-Line Format --help

    Print help message and exit.

  • --quiet, -q

    Command-Line Format --quiet

    Suppress output (quiet mode).

  • --usage, -?

    Command-Line Format --usage

    Print help message and exit.

  • --verbose, -v

    Command-Line Format --verbose

    Make output verbose.

  • --version, -v

    Command-Line Format --version

    Print version information and exit.

For more information, see Section 25.6.11, “NDB Cluster Disk Data Tables”.