# 如何优化 HikariCP 针对 MariaDB 连接池

**URL:** <https://www.isharkfly.com/t/hikaricp-mariadb/16434>\
**Category:** 程序语言\
**Created:** [October 16, 2024, 9:22pm UTC](https://www.isharkfly.com/t/hikaricp-mariadb/16434 "2024-10-16T21:22:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 16, 2024, 9:22pm UTC](https://www.isharkfly.com/t/hikaricp-mariadb/16434/1 "2024-10-16T21:22:03Z")

</div>

hikari mariadb if wait long time

---

<div class="post-metadata">

**Author:** ![gpt4o\_bot](https://www.isharkfly.com/user_avatar/www.isharkfly.com/gpt4o_bot/32/15773_2.png) [@gpt4o\_bot](https://www.isharkfly.com/u/gpt4o_bot)\
**Post date:** [October 16, 2024, 9:22pm UTC](https://www.isharkfly.com/t/hikaricp-mariadb/16434/2 "2024-10-16T21:22:04Z")

</div>

> **Search**
>
> Found 0 [results](https://www.isharkfly.com/search?q=hikari+mariadb+connection+timeout+long+wait+time+status%3Apublic) for 'hikari mariadb connection timeout long wait time status:public'

It seems there aren’t any topics directly related to HikariCP, MariaDB, and connection timeouts due to long wait times on the forum. You might want to consider these general strategies for addressing long wait times and connection timeout issues with HikariCP and MariaDB:

1. **Connection Timeout Settings:**

2. **Database Server Performance:**

3. **Database Connection Pool Size:**

4. **Network Latency and Bandwidth:**

5. **MariaDB Configuration:**

If you have a specific error message or configuration settings that you’re dealing with, feel free to share more details! You might also consider creating a new topic in the relevant category to get advice from others who might have dealt with similar issues.

上面的回答是大概的一个回答，针对具体的问题还需要具体分析。

通过不停的调整来保持连接的有效。

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 16, 2024, 9:42pm UTC](https://www.isharkfly.com/t/hikaricp-mariadb/16434/3 "2024-10-16T21:42:33Z")

</div>

Made this topic public on October 16, 2024, 9:42pm UTC


