Connecting Tableau to Google Cloud SQL

Before connecting your Tableau Application up to your Google Cloud SQL Instance, you will need to make sure that you have assigned an IP Address to the instance. You will also need to allow the network in which your Tableau application is located, access to the Google Cloud SQL Instance.

First, I recommend that you use an external source to determine your IP address, such as or, this will help eliminate any network translation issues.

Now that you have your IP Address it is time to configure your Google Cloud SQL Instance. To grant access to your Tableau application, you need to do the following.

  1. Go to the Google Developers Console and select a project by clicking on the project name.
  2. In the sidebar on the left, click Storage > Cloud SQL.
  3. Find the instance to which you want to grant access and click the instance name. Click Edit.
  4. In the IPv4 Address section, select Assign an IPv4 address to my Cloud SQL instance to assign one to the instance.

Note: There are charges when you assign an IPv4 address. For more information, see the pricing page.

Once you have assigned the IP Address to your instance, you will need to allow the IP Address from your Tableau Application access to the instance by doing the following.


In the Allowed Networks area click on the blue border button with the plus sign. In the text box title Network add the IP Address that you obtained earlier.

Now if you haven’t already, I would recommend that you create a read-only user with access to the schema that you want access.

To configure Tableau Desktop 9.0 to Google Cloud SQL Instance, you need to configure a MySQL connection.


1.) Open Tableau Desktop.
2.) On the Left-hand side under Connect click “More Servers.”
3.) Click on “MySQL.”
4.) Fill in the Server text box with the IP Address that was assigned to your Google Cloud SQL Instance, the port should be 3306, which is the default. Now simply fill in the username and password and click OK.


Congratulations! You’re all connected and ready to start building reports.

Leave a Reply