Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article outlines how to use the copy activity in Data pipeline to copy data from MySQL.
This connector supports MySQL version 5.5, 5.6, 5.7, 8.0, 8.1 and 8.2.
For the configuration of each tab under copy activity, go to the following sections respectively.
Refer to the General settings guidance to configure the General settings tab.
The following properties are supported for MySQL under the Source tab of a copy activity.
The following properties are required:
If you select Table:
Table: Specify the name of the table in the MySQL database to read data. Select the table from the drop-down list.
If you select Query:
Query: Specify the custom SQL query to read data. For example: SELECT * FROM MyTable
.
Under Advanced, you can specify the following fields:
For Mapping tab configuration, see Configure your mappings under mapping tab.
For Settings tab configuration, go to Configure your other settings under settings tab.
The following tables contain more information about the copy activity in MySQL.
Name | Description | Value | Required | JSON script property |
---|---|---|---|---|
Data store type | Your data store type. | External | Yes | / |
Connection | Your connection to the source data store. | <your MySQL connection> | Yes | connection |
Use query | The way to read data from MySQL. Apply Table to read data from the specified table or apply Query to read data using SQL queries. | • Table • Query |
Yes | / |
Table | Name of the table in the MySQL database. | < table name > | No | tableName |
Query | Use the custom SQL query to read data. For example: SELECT * FROM MyTable . |
< SQL queries > | No | query |
Additional columns | Add additional data columns to store source files' relative path or static value. Expression is supported for the latter. | • Name • Value |
No | additionalColumns: • name • value |
Events
31 Mar, 11 pm - 2 Apr, 11 pm
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Migrate on-premises MySQL databases to Azure Database for MySQL - Training
Migrate on-premises MySQL databases to Azure Database for MySQL