Documentation

MySQL Data source

Updated on

Aug 25, 2024

Note: This article covers MySQL Data source setup process. You can learn how to load data to MySQL Destination here.

How to connect MySQL

  1. On the Data sources page, click on the MySQL tile.
    You can find it using the search field or just open the SQL category.
  1. On the MySQL authorization page, fill in the following fields:
  2. ~Enter the Host.
  3. ~Enter the Port.
  4. ~Enter the UID.
  5. ~Enter the Password.
  6. ~Enter the Database Name.
  7. Make sure you have the following permissions:
Access level Scope
Read access ```information_schema``` and tables inside it (e.g, ```TABLES```, ```COLUMNS```)
Database specified in the authorization form and tables inside it
  1. Whitelist the following IP addresses for your cluster:
  • ~Main Cluster: {% dropdown-button name="main" %}

{% dropdown-body name="main" %}

  • 34.226.37.150
  • 18.213.72.135
  • 54.146.15.122
  • 3.86.170.178
  • 23.21.191.65

{% dropdown-end %}

  • ~US Cluster: {% dropdown-button name="us" %}

{% dropdown-body name="us" %}

  • 34.226.37.150
  • 23.21.24.78
  • 3.228.239.24
  • 52.44.89.42
  • 52.45.121.236

{% dropdown-end %}

  • ~EU Cluster: {% dropdown-button name="eu" %}

{% dropdown-body name="eu" %}

  • 34.226.37.150
  • 3.64.235.5
  • 3.68.248.254
  • 3.68.63.131

{% dropdown-end %}

  1. FIll in the form and click the Authorize button.

How to extract data from MySQL

Step 1 - Select table

  1. Select a table from the schema you specified during authorization.
  1. Click Continue to proceed to the next step.

Step 2 - Match

  1. Enter your Data Table name. Remember, you can't change this later.
  2. Select Sync historical data period. This setting allows you to extract historical data from the selected date range during the initial data extraction.
  1. Configure your Extraction scheduling. Allows you to set how often your data is extracted to Improvado storage.
  1. Select the fields you need to import. By default, all fields are selected.
  1. Check the field type. Each field in a data table can be assigned a String, Number, or Date type.
  2. ~The date field is a unique date-key in the database and should be singular. You have the flexibility to choose from a wide range of date formats for this field.
  3. ~If you have field with numeric values that you don't want to include in your calculations, change the type from Number to Text.

{%docs-informer info%}

You can learn more about how to work with dates in Flat Data here.

{%docs-informer-end%}

  1. The Skip rule allows you to exclude empty rows and rows with specific values in a selected field:
  2. ~Default to 'Do Not Skip': Ensures all data is initially included.
  3. ~Multi-Select Options: Combine 'Skip: empty' and 'Skip: value' for targeted exclusions. Selecting 'Do Not Skip' disables other skip options.
  4. ~Custom Rule addition: Add one custom rule; the form is disabled afterward to maintain focus
  5. ~Custom Rule deletion: Hover over and click on the red-highlighted basket icon next to the rule to exclude it.

Usage Note: the component is designed for straightforward value-based selections and does not support complex expressions like '<10'.

  1. Click on the Import N fields button to continue.

Step 3 - Preview

  1. Check the structure of data that will be extracted.
  1. Once you've reviewed the fields, click the Continue button to confirm settings and proceed with data extraction.

Connection Details page

Overview tab

You can find your MySQL connection on the Connections page.

Settings tab

Here you can change Extraction scheduling and Table meta for your data extraction.

Schema information

Setup guide

Settings

No items found.

Troubleshooting

Troubleshooting guides

Check out troubleshooting guides for
MySQL Data source
here:

Limits

Frequently asked questions

No items found.
☶ On this page
Description
Related articles
No items found.
No items found.

Questions?

Improvado team is always happy to help with any other questions you might have! Send us an email.

Contact your Customer Success Manager or raise a request in Improvado Service Desk.