簡體   English   中英

從 Azure 數據工廠連接到 SQL Db 時出錯

[英]Error connecting to SQL Db from Azure Data Factory

我可以通過 SSMS 連接到 SQL db(位於 Azure 上的虛擬機中)

前任:

Server Adress: sqldb.com, 4848
User: admin
Pwd: pwd1234!

但是從 Azure 數據工廠連接時出現以下錯誤:

Cannot connect to SQL Database: 'sqldb.com,4848', Database: 'xyz', User: 'admin'. 
Check the linked service configuration is correct, and make sure the SQL Database firewall 
allows the integration runtime to access.
A connection was successfully established with the server, but then an error occurred during 
the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an 
authority that is not trusted.), SqlErrorNumber=-2146893019,Class=20,State=0,
The certificate chain was issued by an authority that is not trusted
Activity ID: 16xxff36-xx3a-46d3-ss6a-b6bss9c2ss1a.

有什么線索嗎?

嘗試更改 Trusted_Connection=True; 在密鑰庫秘密中。

Ex 連接字符串(例如 Server=tcp:.database.windows.net,1433;Database=;User ID=@;Password=;Trusted_Connection=False;Encrypt=True;Connection Timeout=30)。

請參閱: 從 Azure 網站連接 VM 角色中的數據庫時,“證書鏈是由不受信任的機構頒發的”

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM