Help Center/
GaussDB(for MySQL)/
FAQs/
Database Connections/
How Do I Enable Availability Detection for a Connection Pool in the Service Code?
Updated on 2024-09-05 GMT+08:00
How Do I Enable Availability Detection for a Connection Pool in the Service Code?
To ensure that your application obtains an available connection from a connection pool, you need to configure how the connection pool will check connection availability.
- For a JDBC or Druid connection pool:
- For a HikariCP connection pool:
Parent topic: Database Connections
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot