TiDB client disconnected, connection pool resources cannot be released

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb 客户端断掉,连接池资源无法释放。

| username: TiDBer_OJg7HeFu

| username: 有猫万事足 | Original post link

This error is a general prompt. If you suspect that the connection cannot be released, you might consider adding some details to support this. At least from the error prompt and the corresponding solutions found online, it could be anything. :joy:

| username: TiDBer_OJg7HeFu | Original post link

useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=GMT%2b8&useSSL=false&autoReconnect=true&failOverReadOnly=false&maxReconnects=10

| username: TiDBer_OJg7HeFu | Original post link

These parameters still have no effect when placed inside, but I tested MySQL and it works fine. The TiDB connection gets maxed out.

| username: Kongdom | Original post link

Was it finally resolved? I’m encountering the same situation here, where the connections suddenly get maxed out.