【发布时间】:2020-11-12 22:34:44
【问题描述】:
我无法从 Data Fusion 访问我的私有 Cloud SQL for SQL Server 实例。
我阅读了文档并遵循了所有这些步骤:
- 为 SQL Server 实例创建 Cloud SQL,在默认网络上使用私有 IP
- 在默认网络上使用私有 IP 创建了 Data Fusion 实例
- 在默认网络上的 Data Fusion 之间创建了对等连接
- 已检查默认网络上 Cloud SQL 之间的对等连接
- 授予数据融合服务帐户的 SQL 客户端角色
- 创建了防火墙规则以允许从 Data Fusion 私有 IP 类到默认网络的流量
- 在 Data Fusion 上安装了 sql server jdbc 驱动程序
我可以使用来自 vm 实例的私有 IP 连接到 Cloud SQL for SQL Server 实例,但我无法从 Data Fusion 连接到同一实例。
数据融合返回超时错误。
Error: Connection timed out: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.
对于 MySQL 和 Postgres,Cloud SQL 有特定的连接器,但 SQL Server 没有。
有人通过私有ip成功将Cloud SQL for SQL Server实例连接到Data Fusion?
【问题讨论】:
-
由于您根据 GCP 文档配置连接所遵循的步骤,因此问题可能是特定情况。我建议您在 Cloud Console 中open a support case,这将使支持人员能够专注于调查您可能导致此连接失败的特定问题。
-
您解决了这个问题吗?我想我可以帮忙
-
@jquinter 我也被困在同一点上。您还有其他解决方案要分享吗?
标签: google-cloud-sql