Skip to main content

Connect MySQL

Connect your MySQL instance and query it within your AgencyAnalytics reports.

Written by Ellen Doe

Through the AgencyAnalytics' MySQL integration, you can connect directly to your Clients' MySQL database and query data, displaying it in widgets alongside other data on dashboards and reports.

Click here to read more about database connectors and how to use database integration widgets.

Note: We strongly recommend that you have a technical resource available to set up your MySQL integration. The AgencyAnalytics Support Team cannot assist with your setup or writing queries.


Connect MySQL

To avoid a failed connection or error when integrating MySQL to a Client, the person connecting must have:

  • Host, Port, User, Password and Database

  • User entered must have read permissions for the entered database

If the above requirements are met, simply follow these steps to connect:

  1. Open the Client where you'd like to connect MySQL, then click the Data Sources tab at the top.

  2. Click the blue Connect Data Source button in the upper right corner of the page.

  3. Search for MySQL in the search bar at the top, then click the MySQL card.

  4. Click Connect New Account to launch the authorization window, or if you've previously connected an account, click the gray + sign at the bottom.

  5. Follow the prompts in the OAuth window to verify and finalize the connection.

  6. Enter the details for the instance you'd like to connect, then Save in the bottom left.

Your MySQL instance will be displayed in the list of available connections. Click the circle to the left of the instance name, then click Connect in the bottom left to finalize the connection.

Once done, the selected instance will be connected within your Client, and you can start adding MySQL widgets to your reporting and query data right away!


FAQ

Why is my MySQL connection failing even though my credentials are correct?

If your MySQL server is configured to accept connections only from whitelisted IP addresses, you'll need to allowlist the AgencyAnalytics server IPs for the connection to succeed. Please add the following IP addresses to your MySQL server's allowlist:

  • 34.148.207.61

  • 35.196.154.58

  • 34.138.181.161

  • 35.196.190.6

  • 35.187.224.203

  • 104.196.46.255

  • 34.75.134.155

  • 34.148.57.44

  • 34.139.66.246

  • 34.138.63.129

  • 34.23.214.163

  • 34.73.129.216

  • 104.196.196.229

Once those IPs are allowlisted, try connecting again.


💬 Need additional help?

If you have any questions, please contact our friendly support team by following these instructions! We're available 24/5 to help 😄

Did this answer your question?