[
https://issues.apache.org/jira/browse/FLINK-35782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864865#comment-17864865
]
xuyang commented on FLINK-35782:
--------------------------------
Hi, [~caiyi]. SqlGateway does not provide a driver by default. Can you confirm
whether the corresponding drivers are included in the packages of these two
connectors? If not, you can add the driver to SqlGateway by `add jar ...` and
try again.
> Flink connector jdbc works wrong when using sql gateway
> -------------------------------------------------------
>
> Key: FLINK-35782
> URL: https://issues.apache.org/jira/browse/FLINK-35782
> Project: Flink
> Issue Type: Bug
> Components: Connectors / JDBC, Table SQL / Gateway
> Affects Versions: 1.18.1, 1.19.1
> Reporter: Yi Cai
> Priority: Major
>
> When using sql clent to submit jobs to sql gateway will cause no suitable
> driver found for xxxxx
>
> script:
> add jar 's3://flink/lib/flink-connector-jdbc-3.1.2-1.19.jar';
> add jar 's3://flink/lib/mysql-connector-j-8.0.33.jar';
> CREATE CATALOG xxx WITH(
> ...
> );
> select ...
--
This message was sent by Atlassian Jira
(v8.20.10#820010)