CDM supports table-to-OBS data migration. This section describes how to migrate tables from a MySQL database to OBS. The process is as follows:
The key configurations are as follows:
The flavor of the CDM cluster is selected based on the amount of data to be migrated. Generally, cdm.medium meets the requirements for most migration scenarios.
If SSL encryption is configured for the access channel of a local data source, CDM cannot connect to the data source using the EIP.
Click Show Advanced Attributes to view more optional parameters. For details, see RDS for MySQL/MySQL Database Link Parameters. Retain the default values of the optional parameters and configure the mandatory parameters according to Table 1.
Parameter |
Description |
Example Value |
|---|---|---|
Name |
Unique link name |
mysqllink |
Database Server |
IP address or domain name of the MySQL database server |
- |
Port |
MySQL database port |
3306 |
Database Name |
Name of the MySQL database |
sqoop |
Username |
User who has the read, write, and delete permissions on the MySQL database |
admin |
Password |
Password of the user |
- |
Use Local API |
Whether to use the local API of the database for acceleration. (The system attempts to enable the local_infile system variable of the MySQL database.) |
Yes |
Use Agent |
The agent function will be unavailable soon and does not need to be configured. |
- |
local_infile Character Set |
When using local_infile to import data to MySQL, you can configure the encoding format. |
utf8 |
Driver Version |
Before connecting CDM to a relational database, you need to upload the JDK 8 .jar driver of the relational database. Download the MySQL driver 5.1.48 from https://downloads.mysql.com/archives/c-j/, obtain mysql-connector-java-5.1.48.jar, and upload it. |
- |
If an error occurs during the saving, the security settings of the MySQL database are incorrect. In this case, you need to enable the EIP of the CDM cluster to access the MySQL database.


On the Historical Record page, click Log to view the job logs.