文件首頁
MySQL 9.0 參考手冊
相關文件 下載本手冊
PDF (美式信紙尺寸) - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 258.2Kb
Man Pages (Zip) - 365.3Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.0 參考手冊  /  ...  /  ndb_secretsfile_reader — 從加密的 NDB 資料檔案取得金鑰資訊

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 一起使用的選項。其他描述如下表。

  • --defaults-extra-file

    命令列格式 --defaults-extra-file=路徑
    類型 字串
    預設值 [無]

    在讀取全域檔案後,讀取給定的檔案。

  • --defaults-file

    命令列格式 --defaults-file=路徑
    類型 字串
    預設值 [無]

    僅從給定的檔案讀取預設選項。

  • --defaults-group-suffix

    命令列格式 --defaults-group-suffix=字串
    類型 字串
    預設值 [無]

    也讀取 concat(群組, 字尾) 的群組。

  • --filesystem-password

    命令列格式 --filesystem-password=密碼

    使用 stdinttymy.cnf 檔案,將檔案系統加密和解密密碼傳遞給 ndb_secretsfile_reader

  • --filesystem-password-from-stdin

    命令列格式 --filesystem-password-from-stdin={TRUE|FALSE}

    stdin(僅限)將檔案系統加密和解密密碼傳遞給 ndb_secretsfile_reader

  • --help

    命令列格式 --help

    顯示說明文字並結束。

  • --login-path

    命令列格式 --login-path=路徑
    類型 字串
    預設值 [無]

    從登入檔案讀取給定的路徑。

  • --no-login-paths

    命令列格式 --no-login-paths

    略過從登入路徑檔案讀取選項。

  • --no-defaults

    命令列格式 --no-defaults

    不要從任何選項檔案(登入檔案除外)讀取預設選項。

  • --print-defaults

    命令列格式 --print-defaults

    列印程式引數清單並結束。

  • --usage

    命令列格式 --usage

    顯示說明文字並結束;與 --help 相同。

  • --version

    命令列格式 --version

    顯示版本資訊並結束。