Help Center/
Cloud Data Migration/
FAQs/
Troubleshooting/
What Should I Do If CSV Data Fails to Be Inserted into a MySQL Database?
Updated on 2023-06-21 GMT+08:00
What Should I Do If CSV Data Fails to Be Inserted into a MySQL Database?
Symptom
The job fails to be executed, and message "invalid utf-8 character string" is displayed.
Fault Analysis
According to the error information, dirty data exists in the user data and the types of some fields do not match.
Solution
- Check the sqoop logs in the background. The error may be caused by the incorrect data type or format of the source. (You can obtain the job logs from the customer or export all logs on the console.)
- 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