Help Center> Data Replication Service> User Guide> Check Items> DB Instance Statuses> Checking Whether the Destination Database Exists

Checking Whether the Destination Database Exists

MySQL > PostgreSQL

Table 1 Checking whether the destination database exists

Check Item

Whether the destination database exists

Description

Databases and schemas cannot be migrated. You need to manually create databases and schemas on the destination database. Otherwise, the migration will fail.

Failure Cause and Handling Suggestion

Failure cause: Databases cannot be migrated from MySQL to PostgreSQL.

Handling suggestion: In the destination database, manually create databases and schemas with the same names as those of the source database.

Failure cause: The objects to be synchronized already exist in the destination database.

Handling suggestions: Delete the tables to be synchronized from the destination database or select the tables that do not exist in the destination database for synchronization.

MySQL -> GaussDB(openGauss) Synchronization

Table 2 Checking whether destination database contains the configured database

Check Item

Whether the destination database cannot contain the configured database.

Description

In the MySQL to GaussDB(openGauss) synchronization scenario, the mapped database must exist in the destination database. Otherwise, the synchronization fails.

Failure Cause and Handling Suggestion

Failure cause: The destination database does not contain the configured database.

Handling suggestion: Before the synchronization, manually create a mapped database in the destination database.