Skip to content
Discussion options

You must be logged in to vote

The issue you are experiencing could be due to a character encoding mismatch between MySQL and Flink CDC. MySQL 5.7 defaults to using the "latin1" character set for text fields if a different character set is not specified explicitly. However, the Flink CDC connector is configured to use the "UTF-8" character set for encoding/decoding text fields.

One potential solution to this issue is to change the character set of the MySQL table to "UTF-8" explicitly using ALTER TABLE statement. For example, you can use the following statement to change the character set of the "mysql_table" table to "UTF-8":
ALTER TABLE mysql_table CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
This will upda…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by link3280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants