Help Center/
Cloud Data Migration/
FAQs/
Troubleshooting/
What Should I Do If Error "invalid utf-8 character string" Is Reported When CSV Data Is Inserted into the MySQL Database?
Updated on 2023-06-21 GMT+08:00
What Should I Do If Error "invalid utf-8 character string" Is Reported When CSV Data Is Inserted into the MySQL Database?
Symptom
The migration job fails to be executed, and message "invalid utf-8 character string" is displayed.
Fault Analysis
The error may be caused by the data format. Check the log to confirm the issue.
Solution
- Check the sqoop logs in the background. The error may be caused by the incorrect source data type and format.
- Analyze the source data type. It is found that dirty data exists and the source data type is incorrect.
- Configure dirty data dump on the CDM console and rerun the job. The job is successfully executed, and the dirty data type in the OBS bucket is incorrect.
Parent topic: Troubleshooting
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot