This section describes how to migrate the entire on-premises MySQL database to RDS using the CDM's entire DB migration function.
Currently, CDM can migrate the entire on-premises MySQL database to RDS for MySQL, RDS for PostgreSQL, or RDS for SQL Server. The following describes how to migrate the entire database to RDS. The procedure is as follows:
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.

When the job starts running, a sub-job will be generated for each table. You can click the job name to view the sub-job list.
There are no logs for the entire DB migration job. However, the sub-jobs have logs. On the Historical Record page of the sub-jobs, click Log to view the job logs.