ERROR: invalid byte sequence for encoding “UTF8”: 0x00

1. When using Kettle to bulk import data, the following error occurred in the data. ERROR: invalid byte sequence for encoding “UTF8”: 0x00
Key point: “0x00” means: decimal digit 0.
So the solution is to modify the field where this content appears, and then you can continue to use the Kettle bulk import data.
Another problem is that if you have a lot of fields, you need to decide for yourself which field is the problem. Then according to the fuzzy query query out of this statement, and then modify it.

1 select * from user where name like CONCAT("%",char(0),"%");

 

Read More: