DM Migration Database

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: DM迁移数据库

| username: TiDBer_xHO1bSLb

To migrate a specified database instance under a certain data source in MySQL, where should the database be specified?

| username: xfworld | Original post link

The documentation has it. Just follow the definition in the documentation to operate.

| username: 随缘天空 | Original post link

You can refer to the following link:

| username: tidb菜鸟一只 | Original post link

mysql-instances:
  - source-id: "mysql-141"
    block-allow-list:  "ba-rule1"

block-allow-list:
  ba-rule1:
    do-dbs: ["citizencard-biz","citizencarddb","citizencard-seata"]

This will do.

| username: dba远航 | Original post link

Specify the source configuration file and write it clearly inside.

| username: come_true | Original post link

The official documentation has specific migration explanations.

| username: come_true | Original post link

You can download an official document, which is more convenient to use.

| username: 春风十里 | Original post link

You can configure do-dbs.
do-dbs: The whitelist of databases to be migrated, similar to replicate-do-db in MySQL.

| username: zxgaa | Original post link

Just follow the official documentation step by step.