You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2020/02/21 13:46:00 UTC

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

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)