waywtdcc created FLINK-33069:
--------------------------------
Summary: Mysql and Postgre catalog support url extra parameters
Key: FLINK-33069
URL: https://issues.apache.org/jira/browse/FLINK-33069
Project: Flink
Issue Type: New Feature
Components: Connectors / JDBC
Reporter: waywtdcc
Mysql and Postgres catalog support url extra parameters
CREATE CATALOG mymysql WITH(
'type' = 'jdbc',
'username' = 'root',
'password' = 'xxx',
'base-url' = 'jdbc:mysql://xxx:53309',
'extra-url-param' = '?characterEncoding=utf8'
);
If used in this way, the URLs of all tables obtained from this catalog are:
jdbc:mysql://xxx:53309?characterEncoding=utf8
--
This message was sent by Atlassian Jira
(v8.20.10#820010)