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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to