Help Center> Data Replication Service> Troubleshooting> Solutions to Failed Check Items> Database Versions> Checking Whether the Migration Is from an Earlier Database Version to the Same or a Later Version
Updated on 2022-09-21 GMT+08:00

Checking Whether the Migration Is from an Earlier Database Version to the Same or a Later Version

MySQL Migration

Table 1 Checking whether the migration is from an earlier database version to the same or a later version

Check Item

Whether the migration is from an earlier database version to the same or a later version

Description

Check whether the source database version is earlier than or the same as the destination database version.

Failure Cause and Handling Suggestion

Failure cause: This item cannot be checked because the source database fails to be connected.

Handling suggestion: Check whether the source database is connected.

Failure cause: This item cannot be checked because the destination database fails to be connected.

Handling suggestion: Check whether the destination database is connected.

Failure cause: The source database version is not supported.

Handling suggestion: Check whether the source database version is supported. Currently, only MySQL 5.5.x, MySQL 5.6.x, MySQL 8.0.x, and MySQL 5.7.x are supported.

Failure cause: The destination database version is not supported.

Handling suggestion: Check whether the destination database version is supported. Currently, only MySQL 5.6.x, MySQL 8.0.x, and MySQL 5.7.x are supported.

Failure cause: An internal error occurs.

Handling suggestion: Contact Huawei technical support.

Failure cause: Insufficient user permissions

Handling suggestion: Check whether the database user permissions meet the migration requirements.

Failure cause: The destination database version must be the same as or later than the source database version.

Handling suggestion: Ensure the source database version is earlier than or the same as the destination database version.

PostgreSQL Synchronization

Table 2 Checking whether the migration is from an earlier database version to the same or a later version

Check Item

Whether the migration is from an earlier database version to the same or a later version

Description

Check whether the source database version is earlier than or the same as the destination database version.

Failure Cause and Handling Suggestion

Failure cause: This item cannot be checked because the source database fails to be connected.

Handling suggestion: Check whether the source database is connected.

Failure cause: This item cannot be checked because the destination database fails to be connected.

Handling suggestion: Check whether the destination database is connected.

Failure cause: Insufficient user permissions

Handling suggestion: Check whether the database user permissions meet the migration requirements.

Failure cause: The source database version is not supported.

Handling suggestion: Check whether the source database version is supported. Currently, only PostgreSQL 9.4, 9.5, 9.6, 10.0, 11.0, 12.0, 13.0, and PostgreSQL Enhanced Edition are supported.

Failure cause: The destination database version is not supported.

Handling suggestion: Check whether the destination database version is supported. Currently, only PostgreSQL 9.5, 9.6, 10.0, 11.0, 12.0, 13.0, and PostgreSQL Enhanced Edition are supported.

Failure cause: The major versions of the source and destination databases must be the same and the minor version of the source database must be less than or equal to that of the destination database.

Handling suggestion: Ensure the source database version is earlier than or the same as the destination database version.

Failure cause: If the source database is an RDS PostgreSQL Enhanced Edition instance, the destination database can only be an RDS PostgreSQL Enhanced Edition instance.

Handling suggestion: Select RDS PostgreSQL Enhanced Edition instance as the destination database.

Failure cause: An internal error occurs.

Handling suggestion: Contact Huawei technical support.

Failure cause: The destination database version and source database version do not meet the requirements of the selected migration mode.

Handling suggestion: Check whether the versions of the destination database and source database meet the migration mode requirements.

MySQL Disaster Recovery

Table 3 Checking whether the migration is from an earlier database version to the same or a later version

Check Item

Whether the migration is from an earlier database version to the same or a later version

Description

Check whether the source database version is earlier than or the same as the destination database version.

Failure Cause and Handling Suggestion

Failure cause: The versions of the source and destination databases are inconsistent or do not meet the version requirements.

Handling suggestion: The versions of the source and destination databases must be the same and be 5.6, , 5.7, or 8.0. Select the databases whose versions meet the version requirements.

MongoDB Migration

Table 4 Checking Whether the Source Database Version Is Supported

Check Item

Whether the migration is from an earlier database version to the same or a later version

Description

Check whether the source database version is earlier than or the same as the destination database version. The destination database version can be 4.0.x or later. The migration must be performed from an older database version to the same or a newer version Check whether the features of the newer version are used in the source database. If the new features are not supported in the destination database, the synchronization may fail.

Failure Cause and Handling Suggestion

Item to be confirmed: The versions of the source and destination databases are different.

Potential problem: The source database version is 4.4.5 and the destination database version is 4.0.3, which does not comply with the migration version requirements. If the source database supports features of the newer version but the destination database does not, the synchronization may fail.

Failure cause: The destination database version does not meet the requirements.

Handling suggestion: Select version 4.0.x for the destination database because the source database version is later than 4.0.x and the destination database version is 3.4.x.