sustc icon indicating copy to clipboard operation
sustc copied to clipboard

Why the HikariPool-1 - Connection is not available

Open alkane7 opened this issue 2 years ago • 2 comments

Related module

Database

What happened

image

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 avatar Dec 24 '23 16:12 alkane7

@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.

  1. Database connection configuration at application.yml is incorrect or your user do not have enough privileges.
  2. Forgetting to release connections or similar resources. The HikariPool is limited to 10 connections.
  3. Your created database has a smaller connection limitation.

sses7757 avatar Dec 25 '23 01:12 sses7757

@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.

sses7757 avatar Dec 26 '23 01:12 sses7757