Help Center/ Data Replication Service/ Real-Time Migration/ Task Management/ Task Life Cycle/ Disabling Read-Only of the Destination Database
Updated on 2024-09-25 GMT+08:00

Disabling Read-Only of the Destination Database

For a running migration task, DRS allows you to disable read-only of the destination database.

Constraints

  • You can disable read-only of the destination database only for to-the-cloud migration tasks from MySQL to MySQL, MySQL to GaussDB(for MySQL), and MongoDB to DDS.
  • Disabling read-only on the destination database may cause data inconsistencies. Exercise caution when performing this operation.
  • After read-only is disabled, the destination database cannot be set back to read-only. Even if the migration task fails and then resumed and started, the destination database cannot be set to read-only.
  • The access settings of the destination instance are also affected by the access settings of the DB instance itself. Therefore, you are advised not to set the access settings of the DB instance on the RDS console.

Disabling Read-Only

  1. In the task list on the Online Migration Management page, locate the target task and click its name.
  2. In the Task Information area on the Basic Information page, click Disable Read-only next to Destination DB Instance Access.
  3. In the displayed dialog box, click Yes.

    Figure 1 Disabling Read-Only