MySQL 8.4 發行說明
ndb_secretsfile_reader 從 NDB 加密密碼檔案取得加密金鑰,需提供密碼。
用法
ndb_secretsfile_reader options fileoptions 必須包含 --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 搭配使用的選項。表格後面有其他描述。
-
命令列格式 --defaults-extra-file=path類型 字串 預設值 [無]在讀取全域檔案後讀取給定的檔案。
-
命令列格式 --defaults-file=path類型 字串 預設值 [無]僅從給定檔案讀取預設選項。
-
命令列格式 --defaults-group-suffix=string類型 字串 預設值 [無]也讀取 concat(group, suffix) 的群組。
-
命令列格式 --filesystem-password=password使用
stdin、tty或my.cnf檔案將檔案系統加密和解密密碼傳遞給 ndb_secretsfile_reader。 --filesystem-password-from-stdin命令列格式 --filesystem-password-from-stdin={TRUE|FALSE}從
stdin(僅限)將檔案系統加密和解密密碼傳遞給 ndb_secretsfile_reader。-
命令列格式 --help顯示說明文字並結束。
-
命令列格式 --login-path=path類型 字串 預設值 [無]從登入檔案讀取給定的路徑。
-
命令列格式 --no-login-paths跳過從登入路徑檔案讀取選項。
-
命令列格式 --no-defaults不要從任何選項檔案讀取預設選項,登入檔案除外。
-
命令列格式 --print-defaults列印程式引數清單並結束。
-
命令列格式 --usage顯示說明文字並結束;與 --help 相同。
-
命令列格式 --version顯示版本資訊並結束。