MySQL look below at how migration, DMS can migrate far more than there are SQL Server, MySQL, Mongo, Oracle can migrate, they can even do a heterogeneous migration, look below at how to migrate from MySQL RDS to the Azure Azure's PaaS MySQL
MySQL migration in general can be divided into three major steps
1. AWS RDS configuration parameters in preparation for migration environment
2. migrate the database schema
3. Data Migration
First, AWS RDS we need to configure some parameters, set some parameters of Binlog
Create a new set of parameters using the following configuration:
binlog_format = row
binlog_checksum = NONE
Get rid of the associated configuration parameters in the group
Then we need to set the parameters associated with RDS in just created
These steps are relatively simple, need to restart after the next MySQL
Otherwise it would have been seen is pending reboot, in addition, also need to set the security group, these steps will not go
Then we can begin to migrate the database schema, we can use mysqldump to lead out the schema
Connected to mysql, mysqldump.exe -h mxyrds.c4u9uhbque93.rds.cn-north-1.amazonaws.com.cn -p --database test --no-date> d using the following command: \ test.sql
After you can see the script to create the schema will be exported to a file, and then after the mysql program to import the data into the database
mysql.exe -h mxymysql.mysql.database.chinacloudapi.cn -u mengxiyuan@mxymysql -p test < d:\test.sql
After the table as these data will be created in mysql
Next we start migrating data in the DMS, the first project to create a migration of MySQL
Here there is a direct migration to AWS RDS MySQL Azure database for MySQL
Here enter the source and destination information, pay attention to advance to the firewall rule set
Here you can select the source libraries and corresponding target libraries to migrate
Then you can start preparing migrated
This migration is also possible increment here is not to demonstrate
In fact, the process used to migrate to SQL RDS and Azure SQL is very similar, but not the same method to migrate schema