简体   繁体   English

如何在 Cloud Data Fusion 中将牧马人连接添加到云 sql postgres

[英]How to add wrangler connection to cloud sql postgres in Cloud Data Fusion

I am not able to see the option to add connection to "Cloud Sql Postgres" under wrangler -> databases .我无法在wrangler -> databases下看到添加与“Cloud Sql Postgres”连接的选项。 I can only see these options avaialable-connection-options我只能看到这些选项avaialable-connection-options

If i select the postgressql and add the details i get the Error: SocketTimeoutException: connect timed out如果我 select postgressql 并添加详细信息我得到Error: SocketTimeoutException: connect timed out

My connection to this instance works from the studio using the source/sink CloudSQL PostgreSQL我使用源/接收器CloudSQL PostgreSQL从工作室连接到此实例

Any help to make the connection work from the wrangler please?请问牧马人有什么帮助可以使连接工作吗?

I have resolved this issue by selecting the option Database and adding the connection like jdbc:postgresql://google/<DATABASE_NAME>?cloudSqlInstance=<INSTANCE_CONNECTION_NAME>&socketFactory=com.google.cloud.sql.postgres.SocketFactory . I have resolved this issue by selecting the option Database and adding the connection like jdbc:postgresql://google/<DATABASE_NAME>?cloudSqlInstance=<INSTANCE_CONNECTION_NAME>&socketFactory=com.google.cloud.sql.postgres.SocketFactory .

Please note that the INSTANCE_CONNECTION_NAME should be in the format <project>:<region>:<instance_name> .请注意, INSTANCE_CONNECTION_NAME的格式应为<project>:<region>:<instance_name> Copy the exact connection name displayed on the GCP consoles cloud sql page.复制 GCP 控制台云 sql 页面上显示的确切连接名称。

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

相关问题 无法从 Data Fusion 连接 Cloud SQL PostgreSQL - Could not connect Cloud SQL PostgreSQL from Data Fusion 无法从 Data Fusion 连接 Cloud SQL mySql/postgreSQL 实例 - Unable to connect Cloud SQL mySql / postgreSQL instance from Data Fusion 如何在 Cloud Data Fusion 上的 PostgreSQL 中执行 upsert 操作 - How to perform upsert operation in PostgreSQL on Cloud Data Fusion 使用 Cloud Data Fusion 从 MySql 在 Bigquery 中追加增量数据 - Appending incremental data in Bigquery from MySql using Cloud Data Fusion 如何使用所有数据和表在云上托管我的 postgres 数据库 - How to host my postgres database on cloud with all data and tables Cloud SQL Postgres 中的密码重置问题 - Password reset issue in Cloud SQL Postgres 是否可以在基本版或企业版中将我自己的自定义转换插件添加到云数据融合。 请赐教 - Is it possible to add my own custom transformation plugin to Cloud data fusion either in Basic edition or in Enterprise edition. Please enlighten 将SQL数据迁移到Azure / Cloud - Migrating SQL data to Azure/Cloud Informatica Cloud:尝试与 SQL 服务器创建连接 - Informatica Cloud: Trying to create a Connection with SQL Server Windows Azure云服务与sql数据库的连接 - Windows Azure Cloud Service connection with sql database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM