StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9k stars 1.81k forks source link

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

Open YTQ419 opened 4 months ago

YTQ419 commented 4 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 4 months ago

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