MySQL 8.4 Release Notes
25.5.24 ndb_secretsfile_reader — 从加密的 NDB 数据文件中获取密钥信息
ndb_secretsfile_reader从一个 NDB 加密秘密文件中获取加密密钥,给定密码。
ndb_secretsfile_reader options file
必须包含一个 options,包括其中之一 --filesystem-password 或 --filesystem-password-from-stdin,并且加密密码必须提供,如下所示:
> 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一起使用的选项,如下表所示。附加描述在表格后面。
-
Command-Line Format --defaults-extra-file=pathType 字符串 Default Value [none]在读取全局文件之后,读取给定文件。
-
Command-Line Format --defaults-file=pathType String Default Value [none]从给定文件中仅读取默认选项。
-
Command-Line Format --defaults-group-suffix=stringType String Default Value [none]还读取组与concat(group, suffix)的组。
-
Command-Line Format --filesystem-password=password将文件系统加密和解密密码传递给ndb_secretsfile_reader使用
stdin,tty或my.cnf文件。 -
--filesystem-password-from-stdinCommand-Line Format --filesystem-password-from-stdin={TRUE|FALSE}将文件系统加密和解密密码传递给ndb_secretsfile_reader从
stdin(仅限) (only)。 -
Command-Line Format --help显示帮助文本并退出。
-
Command-Line Format --login-path=pathType 字符串 Default Value [none]从登录文件中读取给定路径。
-
Command-Line Format --no-login-paths跳过从登录路径文件中读取选项。
-
Command-Line Format --no-defaults不从任何选项文件中读取默认选项,除了登录文件。
-
Command-Line Format --print-defaults打印程序参数列表并退出。
-
Command-Line Format --usage显示帮助文本并退出;与 --help 相同。
-
Command-Line Format --version显示版本信息并退出。