-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
The connection pool shouldn't close a connection after an exception #3626
Comments
实测最新版本1.2.1仍有该问题,怀疑是当之前的SQL语句执行出现SQLException时,druid会做处理,使得后续的连接会直接disabled 从而导致这个问题 |
同样遇到这个问题,通过分析debug后,发现引起这问题的原因是druid的ExceptionSorter设计; 无权限SQL执行时
|
ping |
2000个issue 没人处理,阿里是放弃了这个连接池了吧? |
change to version |
I found another solution to solve this issue when you use druid and flyway after 5.2.1 version. You can configure the flyway.url, and then flyway will not use the datasource which provide by druid, however, it will create mysql connection, and then the problems will be solved.
|
|
spring boot 2.2, flyway 6.0.8.
related issue
flyway/flyway#2215
flyway/flyway#2240
The text was updated successfully, but these errors were encountered: