An attempt by a client to checkout a Connectio n has timed out报错解决

<!--<property name="initialPoolSize" value="100"/>-->
<!--c3p0连接池的私有属性-->
<property name="maxPoolSize" value="4000"/>
<property name="minPoolSize" value="1"/>
<property name="autoCommitOnClose" value="false"/>
<!--获取连接超时时间-->
<!--<property name="checkoutTimeout" value="1024"/>-->
<!--获取失败的重试次数-->
<property name="acquireRetryAttempts" value="30"/>

Note: https://www.iloveqyc.com/2016/05/29/c3p0-optimize-out-of-time/

Guess you like

Origin blog.csdn.net/l_degege/article/details/90713477