Connecting to Google Cloud SQL databases

22nd June, 2018
Applies to: 7.x versions, Article available also for: 9.x (current), 8.x
You are looking at documentation for an older release.
Switch to the documentation for Dataedo 9.x (current).

To connect to Google Cloud SQL for MySQL/Google Cloud for SQL PostgreSQL database create new documentation by clicking Add documentation and choosing Database connection.

Connection to SQL Server

On the connection screen choose MySQL/PostgreSQL as DBMS.

Provide database connection details:

  • Host - provide a host name, endpoint or address where a database is on. E.g. server17, server17.ourdomain.com or 192.168.0.37.
  • Port - change the default port of Google Cloud SQL for MySQL/Google Cloud SQL for PostgreSQL instance if required
  • User and password - provide your username and password
  • Database - type in database name or click [...] and choose it from the list.

Google Cloud SQL - instance IP

To find instance IP go to the Cloud SQL Instances page in the Google Cloud Platform Console

Connection to SQL Server

or use instance details.

Connection to SQL Server

Google Cloud SQL for PostgreSQL

Connection to SQL Server

Here is a comparison with connection details in pgAdmin.

Connection to SQL Server

Connection to SQL Server

Google Cloud SQL for MySQL

Connection to SQL Server

Here is a comparison with connection details in MySQL Workbench.

Connection to SQL Server

Connection to SQL Server

Saving password

You can save password for later connections by checking Save password option. Password are saved in the repository database.

Importing schema

When connection was successful Dataedo will read objects and show a list of objects found. You can choose which objects to import. You can also use advanced filter to narrow down list of objects.

Objects to import

Confirm list of objects to import by clicking Next.

Next screen with allow you to change default name of the documentation under with your schema will be visible in Dataedo repository.

Change title

Click Import to start the import.

Importing documentation

When done close import window with Finish button.

Import succeeded

Your database schema has been imported to new documentation in the repository.

Imported database schema

Google Cloud SQL support

Learn more about Google Cloud SQL in Dataedo.

Found issue with this article? Comment below
0
There are no comments. Click here to write the first comment.