Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

druid 1.2.6版本支持mysql jdbc loadbalance么 #6226

Open
zyc86552834 opened this issue Nov 13, 2024 · 0 comments
Open

druid 1.2.6版本支持mysql jdbc loadbalance么 #6226

zyc86552834 opened this issue Nov 13, 2024 · 0 comments

Comments

@zyc86552834
Copy link

zyc86552834 commented Nov 13, 2024

Database Type

mysql

Database Version

mysql 5.7

Druid Version

1.2.6

JDK Version

JDK 1.8

Error SQL

Testcase Code

No response

Stacktrace Info

No response

Error Info

数据源:jdbc:mysql:loadbalance://50.x.x.x:1234,50.x.x.x:1234,50.x.x.x:1234/test

报错信息:
connectionURL maybe invalid: jdbc:mysql:loadbalance://50.x.x.x:1234,50.x.x.x:1234,50.x.x.x:1234/test
For input string:"1234,50.x.x.x:1234,50.x.x.x:1234"

在druid 1.2.6版本中配置了数据源,数据源是mysql jdbc loadbalance形式,然后执行报错。看报错原因是把第一个:之后的内容全都解析成端口了。想确认一下,druid 1.2.6版本是不是不支持mysql jdbc loadbalance形式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant