文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 25 MySQL NDB 集群 8.4 / 25.5 NDB 集群程序 / 25.5.24 ndb_secretsfile_reader — 从加密的 NDB 数据文件中获取密钥信息
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 70%

25.5.24 ndb_secretsfile_reader — 从加密的 NDB 数据文件中获取密钥信息25.5.24 ndb_secretsfile_reader — Obtain Key Information from an Encrypted NDB Data File

ndb_secretsfile_reader 根据密码从 NDB 加密密钥文件中获取加密密钥。ndb_secretsfile_reader gets the encryption key from an NDB encryption secrets file, given the password.

用法Usage

ndb_secretsfile_reader options file

options 必须包括 --filesystem-password 或 --filesystem-password-from-stdin 中的一个,并且必须提供加密密码,如下所示:The options must include one of --filesystem-password or --filesystem-password-from-stdin, and the encryption password must be supplied, as shown here:

> ndb_secretsfile_reader --filesystem-password=54kl14 ndb_5_fs/D1/NDBCNTR/S0.sysfile
ndb_secretsfile_reader: [Warning] Using a password on the command line interface can be insecure.
cac256e18b2ddf6b5ef82d99a72f18e864b78453cc7fa40bfaf0c40b91122d18

这些以及其他可以与 ndb_secretsfile_reader 一起使用的选项显示在下表中。表格后面附有更多说明。These and other options that can be used with ndb_secretsfile_reader are shown in the following table. Additional descriptions follow the table.

  • --defaults-extra-file

    命令行格式Command-Line Format --defaults-extra-file=path--defaults-extra-file=path
    类型Type 字符串String
    默认值Default Value [none][none]

    在读取全局文件之后读取给定文件。Read given file after global files are read.

  • --defaults-file

    命令行格式Command-Line Format --defaults-file=path
    类型Type 字符串String
    默认值Default Value [none][none]

    仅从指定文件读取默认选项。Read default options from given file only.

  • --defaults-group-suffix

    命令行格式Command-Line Format --defaults-group-suffix=string
    类型Type 字符串String
    默认值Default Value [none][none]

    也读取组合了 concat(group, suffix) 的组。Also read groups with concat(group, suffix).

  • --filesystem-password

    命令行格式Command-Line Format --filesystem-password=password

    通过 stdin、tty 或 my.cnf 文件,将文件系统加密和解密密码传递给 ndb_secretsfile_reader。Pass the filesystem encryption and decryption password to ndb_secretsfile_reader using stdin, tty, or the my.cnf file.

  • --filesystem-password-from-stdin

    命令行格式Command-Line Format --filesystem-password-from-stdin={TRUE|FALSE}

    将文件系统加密和解密密码通过 stdin(仅此)传递给 ndb_secretsfile_reader。Pass the filesystem encryption and decryption password to ndb_secretsfile_reader from stdin (only).

  • --help

    命令行格式Command-Line Format --help--help

    显示帮助文本并退出。Display help text and exit.

  • --login-path

    命令行格式Command-Line Format --login-path=path
    类型Type 字符串String
    默认值Default Value [none][none]

    从登录文件读取给定路径。Read given path from login file.

  • --no-login-paths

    命令行格式Command-Line Format --no-login-paths

    跳过从登录路径文件读取选项。Skips reading options from the login path file.

  • --no-defaults

    命令行格式Command-Line Format --no-defaults--no-defaults

    除了登录文件之外,不从任何配置文件读取默认选项。Do not read default options from any option file other than login file.

  • --print-defaults

    命令行格式Command-Line Format --print-defaults

    打印程序参数列表然后退出。Print program argument list and exit.

  • --usage

    命令行格式Command-Line Format --usage

    显示帮助文本并退出;同 --help。Display help text and exit; same as --help.

  • --version

    命令行格式Command-Line Format --version

    显示版本信息并退出。Display version information and exit.