I am performing a data migration from salesforce to mysql. I have used tsalesforce input and tdboutput in my job. My table in the db is utf8mb4 (I have also tried with ut8). when i load the data i get the below error:
(conn=64635) Incorrect string value: '\xF0\x9F\x98\x8A\x0A\x0A...' for column.
I have also set "noDatetimeStringSync=true&useUnicode=true&useOldUTF8Behavior=true" in the Additional JDBC Parametrs of my tdboutput. It is very important for me to solve this as there is lot of data rejection. Any help would be really apprciated.
Thanks in advance.
I would always suggest to add the screenshots of the job flow with sample data so that Talend community members will get more idea about your issue. I would also suggest to put the full error log + the component details screen shot + schema of the component where you are facing the issue.
From the current details given, I am guessing that your target DB data type is having some issue but more screenshots and details will be appreciated.
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)
[statistics] connecting to socket on port 4066
(conn=64572) Incorrect string value: '\xF0\x9F\x98\x8A\x0A\x0A...' for column 'TextBody' at row 900
The datatype for TextBody is text. It is in ut8mb4 charcterset.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables