StarRocks / starrocks

StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
https://starrocks.io
Apache License 2.0
8.74k stars 1.75k forks source link

When using JDBC Catalog I get an error and it redirects my URL containing MySQL #47470

Open YTQ419 opened 3 months ago

YTQ419 commented 3 months ago

Steps to reproduce the behavior (Required)

1.CREATE EXTERNAL CATALOG wl_catalog PROPERTIES ( "type"="jdbc", "user"="11111122", "password"="1111", "jdbc_uri"="jdbc:mysql://1111.mysql.rds.com:3306", "driver_url"="file:///home/sr_catalog/mysql_catalog/mysql-connector-java-8.0.28.jar", "driver_class"="com.mysql.cj.jdbc.Driver" );

2.select * from wl_catalog.abc.tabel

error message

Failed to initialize pool: Socket fail to connect to host:address=(host=1111.mariadb.rds.com)(port=3306)(type=primary)

Real reason

bug

StarRocks version (Required)

kevincai commented 3 months ago

@YTQ419 I think you have spot the root cause, will you be going to submit a PR to fix this?