You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "zhangjun0x01 (via GitHub)" <gi...@apache.org> on 2023/08/28 04:11:02 UTC

[GitHub] [incubator-paimon] zhangjun0x01 commented on a diff in pull request #1877: [flink] add table comment for create table in sync action

zhangjun0x01 commented on code in PR #1877:
URL: https://github.com/apache/incubator-paimon/pull/1877#discussion_r1306886240


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlActionUtils.java:
##########
@@ -79,13 +79,13 @@ static Connection getConnection(Configuration mySqlConfig, boolean tinyint1NotBo
             throws Exception {
         String url =
                 String.format(
-                        "jdbc:mysql://%s:%d%s",
+                        "jdbc:mysql://%s:%d?useInformationSchema=true%s",

Review Comment:
   the param in default `true` in  mysql 8.0.3 ([doc](https://dev.mysql.com/doc/connector-j/8.1/en/connector-j-connp-props-metadata.html)) ,but it is default `false` in mysql    5.7,  if we add an option and when we set it to `false` ,do    we should set it to `false` explicitly in mysql8 ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org