链接服务连接超时
Linked Service connection timeout
我正在尝试在我的数据工厂中配置链接服务。在这种情况下,它是 Ubuntu 20.04LTS 上的 MariaDB 实例。
我能够很好地从虚拟网络的其他部分建立连接(例如 Windows 10 VM + HeidiSQL)。但是,当我尝试配置(ip、数据库、凭据)并测试连接时,我得到:
ERROR [08001] [Microsoft][MariaDB] (1004) The connection has timed out while connecting to server: ip_here at port: 3306. Activity ID: omitted.
存储帐户和数据工厂使用与 Ubuntu 实例相同的订阅和资源组。存储帐户配置为所有网络。
编辑 1
我使用了通用的 MariaDB 选项来设置链接服务。
编辑 2
找到这个花絮...
" [...] Azure 数据工厂 Azure Integration Runtime 不在 VNET 中,因此默认情况下它无法连接到您的 Azure SQL 数据库。[...] 你能做的最好的事情就是将 Azure 数据工厂集成运行时的 IP 范围列入白名单 [...]
编辑 3
有关如何设置集成运行时的教程:
https://blog.nicholasrogoff.com/2018/07/03/how-to-get-azure-data-factory-connecting-to-your-data-on-a-vnet-or-internal-network/
但是,这似乎只能在 Windows 上使用(而我在 Linux 上)?
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime?tabs=data-factory
我最终使用了“MySQL 的 Azure 数据库”,并且能够让数据工厂与其通信。
上查看类似问题
Today the self-hosted Integration Runtime is only supported on Windows
machine. However, what you can do is to run self-hosted Integration
Runtime on a separate Windows machine that has network connectivity to
the Linux machine where the data files reside.
如果您可以灵活地使用其他数据库,您可以为 MySQL 使用例如 Azure 数据库,因为 @TekiusFanatikus 已成功使用。
我正在尝试在我的数据工厂中配置链接服务。在这种情况下,它是 Ubuntu 20.04LTS 上的 MariaDB 实例。
我能够很好地从虚拟网络的其他部分建立连接(例如 Windows 10 VM + HeidiSQL)。但是,当我尝试配置(ip、数据库、凭据)并测试连接时,我得到:
ERROR [08001] [Microsoft][MariaDB] (1004) The connection has timed out while connecting to server: ip_here at port: 3306. Activity ID: omitted.
存储帐户和数据工厂使用与 Ubuntu 实例相同的订阅和资源组。存储帐户配置为所有网络。
编辑 1
我使用了通用的 MariaDB 选项来设置链接服务。
编辑 2
找到这个花絮...
" [...] Azure 数据工厂 Azure Integration Runtime 不在 VNET 中,因此默认情况下它无法连接到您的 Azure SQL 数据库。[...] 你能做的最好的事情就是将 Azure 数据工厂集成运行时的 IP 范围列入白名单 [...]
编辑 3
有关如何设置集成运行时的教程: https://blog.nicholasrogoff.com/2018/07/03/how-to-get-azure-data-factory-connecting-to-your-data-on-a-vnet-or-internal-network/
但是,这似乎只能在 Windows 上使用(而我在 Linux 上)? https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime?tabs=data-factory
我最终使用了“MySQL 的 Azure 数据库”,并且能够让数据工厂与其通信。
Today the self-hosted Integration Runtime is only supported on Windows machine. However, what you can do is to run self-hosted Integration Runtime on a separate Windows machine that has network connectivity to the Linux machine where the data files reside.
如果您可以灵活地使用其他数据库,您可以为 MySQL 使用例如 Azure 数据库,因为 @TekiusFanatikus 已成功使用。