Checking the Database Compatibility Type
Check the compatibility type of the destination database. If the database type is incompatible, data may contain garbled characters or the synchronization may fail.
Failure Cause
- During synchronization from MySQL to GaussDB, the destination database is incompatible with MySQL.
Handling Suggestion
- Use a destination GaussDB instance that is compatible with MySQL.
If the destination instance is a distributed instance, run the following statement to create a compatible database: CREATE DATABASE mysql_compatible_db DBCOMPATIBILITY 'MYSQL';
If the destination instance is a primary/standby instance, run the following statement to create a compatible database: CREATE DATABASE mysql_compatible_db DBCOMPATIBILITY 'B';
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot