sustc
sustc copied to clipboard
Why the HikariPool-1 - Connection is not available
Related module
Database
What happened
What you expected to happen
When I start benchmark, it will show this message. How can I solve it? Thank u!
How to reproduce
No response
Anything else
No response
@alkane7 It may be caused by several reasons. I can only list a few here according to my limited experience. If none of them works, you may consult TA or SA at lab class.
- Database connection configuration at
application.ymlis incorrect or your user do not have enough privileges. - Forgetting to release connections or similar resources. The
HikariPoolis limited to 10 connections. - Your created database has a smaller connection limitation.
@alkane7 If you still have this error, you may continue to discuss this framework issue in discussion #83 together with other students with similar problems.