Search documentation...

K
ChangelogBook a demoSign up

MySQL

MySQL is an open source relational database management system (RDBMS) with a client-server model.

Overview

Hightouch lets you pull data stored in MySQL and push it to downstream destinations. Most of the setup occurs in the Hightouch UI, but you need access to MySQL for information like your hostname, port, and credentials.

Hightouch unofficially supports backwards compatible MySQL forks such as TiDB by Pingcap.

You need to allowlist Hightouch's IP addresses to let our systems contact your warehouse. Reference our networking docs to determine which IPs you need to allowlist.

MariaDB support

Hightouch supports using MariaDB as a source via the MySQL source. Follow the instructions below, substituting MySQL information and credentials with your MariaDB ones.

Connection configuration

To get started, go to the Sources overview page and click the Add source button. Select MySQL and follow the steps below.

Choose connection type

Hightouch can connect directly to MySQL over the public internet or via an SSH tunnel. Since data is encrypted in transit via TLS, a direct connection is suitable for most use cases. You may need to set up a tunnel if your MySQL instance is on a private network or virtual private cloud (VPC).

Direct connection vs. SSH tunnel

Hightouch supports both standard and reverse SSH tunnels. To learn more about SSH tunneling, refer to Hightouch's tunneling documentation.

Configure your source

Enter the following required fields into Hightouch:

  • Host: The hostname or IP address of your MySQL.
  • Port: The port number of your MySQL. The default is 3306, but yours may be different.
  • Database: The name of the database in your MySQL.

Provide your credentials

Enter the following fields into Hightouch:

  • User: This can be your personal MySQL login or a dedicated user for Hightouch.
  • (Optional) Password: The password for the user specified above.

Test your connection

When setting up MySQL as a source for the first time, Hightouch validates your credentials and access to your database. Once the test passes, click Continue to finish setup.

Next steps

Once your source configuration has passed the necessary validation, you've completed setting up MySQL as a source. Next, you can set up models to define which data you want to pull from MySQL.

The MySQL source supports these modeling methods:

Tips and troubleshooting

If you encounter an error or question not listed below and need assistance, don't hesitate to . We're here to help.

Server does not support secure connection

The connection test returns this error message if you don't enable SSL connections in your MySQL server configuration. To solve this, make sure to configure MySQL to use encrypted connections.

Ready to get started?

Jump right in or a book a demo. Your first destination is always free.

Book a demoSign upBook a demo

Need help?

Our team is relentlessly focused on your success. Don't hesitate to reach out!

Feature requests?

We'd love to hear your suggestions for integrations and other features.

Last updated: Jul 25, 2023

On this page

OverviewMariaDB supportConnection configurationChoose connection typeConfigure your sourceProvide your credentialsTest your connectionNext stepsTips and troubleshootingServer does not support secure connection

Was this page helpful?