[jira] [Created] (FLINK-16218) Chinese character is garbled when reading from MySQL using JDBC source

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-16218) Chinese character is garbled when reading from MySQL using JDBC source

Shang Yuanchun (Jira)
Jark Wu created FLINK-16218:
-------------------------------

             Summary: Chinese character is garbled when reading from MySQL using JDBC source
                 Key: FLINK-16218
                 URL: https://issues.apache.org/jira/browse/FLINK-16218
             Project: Flink
          Issue Type: Bug
          Components: Connectors / JDBC, Table SQL / Planner
            Reporter: Jark Wu
             Fix For: 1.10.1
         Attachments: 15821322356269.jpg

I have set the database and table to use UTF8 collections, and use {{jdbc:mysql://localhost:3306/db_test?useUnicode=true&characterEncoding=utf-8}} as the connection jdbc url. However, the Chinese characters are still garbled.

Btw, we should have a test to cover this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)