Checking Whether the Source and Destination Database Character Sets Are Consistent
MySQL Migration
| Check Item | Whether the source and destination database character sets are consistent |
|---|---|
| Description | Check whether the character sets of the servers hosting the source and destination databases are consistent. |
| 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 character set of the source database is inconsistent with that of the destination database. Handling suggestion: Modify the character sets. Method 1: Run commands to modify the self-created source database.
Method 2: Create an RDS parameter group and change the character_set_server value of the destination database. For details, see the Creating a Parameter Group section in the Relational Database Service User Guide. | |
| Failure cause: Internal error Handling suggestion: Contact Huawei technical support. |
MySQL -> PostgreSQL Synchronization
| Check Item | Whether the source and destination database character sets are consistent |
|---|---|
| Description | Check whether the character sets of the servers hosting the source and destination databases are consistent. |
| Failure Cause and Handling Suggestion | Failure cause: The character set of the source database is inconsistent with that of the destination database. Handling suggestion: Change the character set character_set_server of the source database to the same as that of the destination database, or change the character set server_encoding of the destination database to the same as that of the source database. |


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.