简体   繁体   English

如何通过 Azure 中的自托管集成运行时(链接服务)连接到本地 sql 服务器?

[英]How to connect to on-premise sql server through self-hosted Integrated runtime(linked service) in Azure?

I am trying to connect to an on-prem SQL server from azure but I am getting confusion on username and password while connecting.我正在尝试从 azure 连接到本地 SQL 服务器,但在连接时我对用户名和密码感到困惑。 What username and password should i be using while creating a linked service?创建链接服务时应该使用什么用户名和密码? I tried using sql and windows authentication but it does not work?我尝试使用 sql 和 windows 身份验证,但它不起作用?

在此处输入图片说明

Data Factory needs connectivity to your on premises network.数据工厂需要连接到您的本地网络。 In order to accomplish this the last I checked need to have a Data Factory Integration Runtime configured on the network.为了实现这一点,我最后检查需要在网络上配置数据工厂集成运行时 This would allow for secure communication.这将允许安全通信。

Here are the steps on how to move data between on prem SQL to Azure SQL via Data Factory以下是有关如何通过数据工厂在本地 SQL 和 Azure SQL之间移动数据的步骤

As for linked service the last time I checked only supported SQL auth.至于链接服务,我上次检查只支持 SQL 身份验证。

As I understand the intend is to connect to the In premise SQL from ADF .据我了解,目的是从 ADF 连接到内部部署 SQL。 You will have to install something called Self Hosted runtime , How to install , please read here .您必须安装称为自托管运行时的东西,如何安装,请阅读此处 Once you have installed the SHIR , while creating the linked service you will have to selected the SHIR from the drop down and it should work fine .安装 SHIR 后,在创建链接服务时,您必须从下拉列表中选择 SHIR,它应该可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure SQL 即服务将服务链接到本地​​ SQL Server - Azure SQL as a service linked services to an on-premise SQL Server 如何通过从 SQL 服务器(本地)到 Azure SQL 数据库的查询/脚本设置定期迁移 - How to set up recurring migration through queries/script from SQL server(On-premise) to Azure SQL database 使用本地SQL Server中的OpenRowSet连接到SQL Azure DB - Connect to SQL Azure DB using OpenRowSet from on-premise SQL Server 无法打开备份设备 - SQL Server 本地备份数据库到 Azure 存储 - Cannot open backup device - SQL Server on-premise backup database to Azure storage 数据从SQL内部部署迁移到SQL Azure - Data movement from SQL on-premise to SQL Azure 如何通过 Python 连接到 Azure SQL Server - How to connect to a Azure SQL Server through Python 我们可以将本地 SQL 服务器数据库中的表连接到 Azure Delta 湖中的 Delta 表中的表吗? 我有什么选择 - Can we join tables in on-premise SQL Server database to tables in Delta tables in Azure Delta lake? what are my options 有关如何使用sql server集成服务的问题 - question on how to use sql server integrated service 无法使用链接服务器连接到SQL Azure - Cannot connect to SQL Azure using a Linked Server 自托管 SQL 数据库 (LocalDB) 与 UWP 应用程序 - Self-hosted SQL database (LocalDB) with UWP application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM