Doris 1.2.0 jdbc_catalog 使用报错 #19510
Replies: 2 comments
-
|
Please upgrade to 1.2.4 for testing |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
首先,你的jdbc url是错误的, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CREATE CATALOG tidb PROPERTIES (
"type"="jdbc",
"user"="",
"password"="",
"jdbc_url" = "jdbc:mysql://:4000/testdb?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true",
"driver_url" = "hdfs://doris/lib/mysql-connector-java-5.1.47.jar",
"driver_class" = "com.mysql.jdbc.Driver"
);
mysql> SWITCH tidb;
Query OK, 0 rows affected (0.00 sec)
mysql> show databases;
ERROR 1105 (HY000): JdbcClientException, msg: org.apache.doris.external.jdbc.JdbcClientException: Unsupported jdbc database type, please check jdbcUrl: ?yearIsDateType=false
这里就开始报错,需检查 jdbcUrl
Beta Was this translation helpful? Give feedback.
All reactions