How to Setup Google Data Studio’s New IP Address Configuration?

ip address firewall access

Important: IP address changes for firewall access is now active in Google Data Studio.

Google Data Studio is a free tool made by Google for users to create customizable reports and visualizations. You can connect to hundreds of platforms through its data connectors. Some of these platforms may restrict access to data using a firewall for security reasons. For this reason, Google uses specific IP addresses that can access the data through the data connectors.

The IP addresses may change after a certain amount of time, though not quite frequently for convenience. Every time Google Data Studio needs access to certain resources in a database behind a firewall, it has to use the provided addresses. Otherwise it will be unable to fetch data from these sources. The latest update, dated July 14, 2022, affects only sources created by these four connectors.

  • MySQL
  • PostgreSQL
  • Redshift
  • Microsoft SQL Server 2017

The new IP addresses to use are

  • 2001:4860:4807::/48 (This is optional for platforms supporting IPv6)

The current IP addresses will continue working until early 2023. Therefore, to ensure Google Data Studio can continue to connect to your database, you need to use the IP addresses above. The following IP addresses will not work after the deadline.


Let’s look at how to connect to the MYSQL connector in Google Data Studio.

How to connect Google Data Studio to MySQL?

  1. Open and sign in to your Google Data Studio account.
  2. Click the “+” button on the top left.
create data studio
  1. Select “Data source” from the drop-down list.
data source in google data studio
  1. Pick the MySQL connector. You can also use the search bar to search for your preferred data connector.
mysql connector
  1. Enter your MySQL credentials. You can use an IP address or a hostname. (Host Name/IP, Port, Database Name, Username, Password,) If you choose to access MySQL using the JBDC URL, enter the following credentials (URL, username, Password).
connectors host name and ip address
  1. Enable SSL (this is an optional step).

You can connect to your server securely by using TLS/SSL encryption. All you need to do is check the SSL option and then enter your configuration details.

  1. Now, you can “Authenticate”.
authenticate your connector ip address
  1. Choose a table from the list (You can also create a custom query) and then click “Connect”.
connect table in data studio
  1. All the dimensions in the database will appear. You can create a report or explore to visualize the data.
create and explore data ip address

Additional steps to visualize your data

Under the “Explore”, you can choose different charts to visualize your data.

different chart types

For example, Google Data Studio will create a visualization automatically when I choose a Pie chart. But you can edit or create your own custom visualizations as well.

pie chart in explorer

IP Address Important Notes

  • Google Data Studio cannot access the local host. You need to set a public IP address or hostname.
  • THE MySQL connector can query a maximum of 150k rows.
  • Google Data Studio only supports ASCII characters as the column hears/Field names.
  • The supported MySQL versions are 5.6, 5.7 and 8.0

Final Thoughts

Google Data Studio allows its users to connect to different types of databases such as MySQL, PostgreSQL, Microsoft Server, and Redshift. Some may be protected by a firewall; thus, you need to use the provided IP address to connect, which is from early 2023. The previous IP addresses will not work.

I hope this was helpful! If you want to learn more, feel free to subscribe to my newsletter or take a look at one of my courses.

Dynamic Dashboards and Data Analysis with Google Data Studio – 2022

If you want to learn how to build powerful data visualizations and unlock insights that can help you drive business results for your clients or employers, take a look at my full course on Udemy.

Google Data Studio Course

Google BigQuery for Marketers and Agencies

This course is designed to bridge the gap between data analysis and digital marketing, and help you become a data-driven decision-maker. It covers the more technical aspects of JOINs and data blending as well. You can access the full course here as well.

Google BigQuery logo with a laptop and an image of a person
Leave a Reply

Your email address will not be published. Required fields are marked *