DBConfig.exe 工具可讓使用者變更用於 Apex Central 資料庫的使用者帳號、密碼和資料庫名稱。
此工具提供下列選項:
  • DBName:資料庫名稱
  • DBAccount:資料庫帳號
  • DBPassword:資料庫密碼
  • Mode:資料庫驗證模式(「SQL Server 驗證」或「Windows 驗證」)
    注意
    注意
    預設資料庫驗證模式為「SQL Server 驗證」模式。不過,設定進行 Windows 驗證時,將需要「Windows 驗證」模式。

步驟

  1. Apex Central 伺服器上開啟指令提示字元。
  2. 使用下列指令找出包含 DBConfig.exe 檔案的目錄:
    cd <Apex Central 安裝目錄>\DBConfig
  3. 輸入 dbconfig 並按 Enter 鍵。
    會出現 DBConfig 工具介面。
  4. 指定您要修改的設定:
    • 範例 1:DBConfig -DBName="db_your_database>" -DBAccount="sqlAct" -DBPassword="sqlPwd" -Mode="SQL"
    • 範例 2:DBConfig -DBName="db_your_database>" -DBAccount="winAct" -DBPassword="winPwd" -Mode="WA"
    • 範例 3:DBConfig -DBName="db_your_database>" - DBPassword="sqlPwd"