# 資料庫連線

## 程序

1. 點擊 下一步 以存取 Talend Administration Center 資料庫連線面板。

   ![Talend Administration Center 伺服器註冊頁面](https://help.qlik.com/Resources/Images/qlik-talend-cloud-migration-toolkit-user-guide/tac_registration3.png)

   請參閱 資料庫組態 頁面中的 Talend Administration Center 以填寫資訊。

   ![資料庫組態頁面](https://help.qlik.com/Resources/Images/qlik-talend-cloud-migration-toolkit-user-guide/tac_database_admin.png)
2. 從清單中選取資料庫類型。
3. 輸入資料庫連線 URL。URL 應與 Talend Administration Center 所使用的 URL 相同，如上所述。
4. 輸入資料庫使用者名稱和密碼。使用者只需要資料庫的讀取權限。
5. 與 Web 連線類似，您可以選擇使用按鈕驗證資料庫連線。

   ![測試連線按鈕](https://help.qlik.com/Resources/Images/qlik-talend-cloud-migration-toolkit-user-guide/check_cnnection_btn.png)
6. 點擊 註冊 以註冊 TAC 伺服器。註冊程序會觸發收集 Talend Administration Center 資產的清單：使用者、群組、專案、任務和計畫。對於大型Talend Administration Center (就資產數量而言)，例如在開發環境中，清單可能需要數分鐘。

   ![註冊按鈕](https://help.qlik.com/Resources/Images/qlik-talend-cloud-migration-toolkit-user-guide/register_btn.png)

   資訊備註疑難排解： 如果您看到 列出 Job Conductor 任務時要求逾時，您可以透過在 start\_qtcmt.bat/sh 中設定以下屬性來增加預設讀取逾時（兩分鐘）：tac.config.metaservlet.read-timeout。

   使用 Microsoft Entra ID 驗證的 SQL Server 連線：
   * JTDS 驅動程式：JTDS 使用 NTLM 協定與 Microsoft Entra ID 整合。此選項要求 ntlmauth.dll 存在於機器系統路徑中 (C:\Windows\System32, C:\Windows\System)。

     如果不存在，可以從[JTDS 網站](http://jtds.sourceforge.net/)下載dll。下載 zip 壓縮檔，並根據您的作業系統架構解壓縮dll。

     例如：對於 64 位元作業系統，dll 位於 zip 檔案中的x64/SSO/ntlmauth.dll。將 dll 檔案複製到 Qlik Talend Cloud Migration Toolkit 安裝資料夾中，並編輯檔案 start\_qtcmt.bat 以設定 java.library.path 系統屬性。例如：java -Djava.library.path=&lt;qtcmt install folder&gt; -Dserver.port=%HTTP\_PORT% -jar %qtcmt%。
   * Microsoft 驅動程式：請參閱 Microsoft JDBC 文件中關於[使用整合式驗證連線](https://docs.microsoft.com/en-us/previous-versions/sql/legacy/ms378428%28v=sql.100%29#connecting-with-integrated-authentication)的說明。