Cloud Migration Service (CT-CMS)

Configure Migration Tasks with Self-built MySQL Database as Source

2024-12-27 02:51:50

Before You Begin

(1) The source self-built MySQL database version is 5.1, 5.5, 5.6, 5.7, or 8.0.

(2) The case-sensitive attribute is disabled for the source self-created MySQL database.

(3) binlog is enabled for the source self-built MySQL database and the format is row.

(4) The storage space of the target database must be greater than that used by the source database.

Limitations

Tables without primary keys only support full data migration, but not incremental data migration or auditing repair.

MySQL system databases such as MySQL cannot be migrated.

Table structure, full data, and incremental data of the source database can be migrated.

Permission Requirements of Source Server

The permission query function must be designed into the two system tables, mysql.user and mysql.db. Therefore, users must be granted the SELECT permission on the two tables.

Migration Mode

Required Permissions

Full

SELECT, REFERENCES, INDEX, SHOW VIEW, TRIGGER

Global level: PROCESS

Incremental

SELECT. The binlog row mode is enabled.

Global level: REPLICATION CLIENT, REPLICATION SLAVE

Auditing Repair

SELECT

Configuration on Source Server

 

Data source type: Set this parameter to MySQL. MySQL databases within the version range can be migrated.

Server IP: Specifies the IP address of the source database to be migrated.

Port number: Specifies the port of the source database to be migrated.

User name: Specifies a user name used to connect to the source database to be migrated.

Password: Specifies the password of the user used to connect to the source database to be migrated.

Database: Specifies the name of the source database to be migrated.


e17Wr0iEC7I.