Search
Clear search
Close search
Google apps
Main menu
true

MySQL connector

Connect Data Studio to MySQL databases.

The MySQL connector allows you to access data from MySQL databases within Data Studio.

In this article:

How to connect to MySQL

A Data Studio data source can connect to a single MySQL database table. First, select the mySQL connector. Next, configure access to your database by supplying the following:

  • Hostname or IP address
  • Port (Optional)
  • Database
  • Username
  • Password

Use secure connection (optional)

Data Studio supports secure (encrypted) connections to the server using the TLS (Transport Layer Security) protocol. TLS is also referred to as SSL (Secure Sockets Layer). To enable a secure connection, check Enable SSL, then provide your MySQL SSL client configuration files.

Learn more about MySQL secure connections.

Select a table

When you click authorize, Data Studio will try to access your database and list all of the tables. Finally you need to select one table and click connect.

Data Studio will then turn all of the columns in the table into fields.

Custom Query

Select the CUSTOM QUERY option to provide a SQL query instead of connecting to a single table. Data Studio uses this custom SQL as an inner select statement for each generated query to the database.

Special data types

Data Studio will map your table’s column data types to a unified set of Data Studio types. Some database types are currently not supported in Data Studio. When Data Studio encounters a column of a non-supported type, it will not create a field for that column.

Unsupported database types

Data Studio does not support MySQL's Spatial Data Extensions

Notes

If your database is behind a firewall, you will need to open access to the all of the following IP addresses. These are used by Data Studio to connect to and query your MySql database.

64.18.0.0/20

64.233.160.0/19

66.102.0.0/20

66.249.80.0/20

72.14.192.0/18

74.125.0.0/16

108.177.8.0/21

173.194.0.0/16

207.126.144.0/20

209.85.128.0/17

216.58.192.0/19

216.239.32.0/19

Create a data source

Was this article helpful?
How can we improve it?
false
What's new in Data Studio

Learn about new features and recent changes.