The MySQL password has expired. Today, when I encounter a connection to MySQL, the connection is always unavailable,
Error 1:
An attempt by a client to checkout a connection has timed out
The connection timeout error occurs for the first time. The first response is to modify the cpool. checkouttimeout parameter to 18000, the initial value is 500, and the result is still incorrect,
When it is changed to 36000, and the number of c3p0 connections is increased. cpool. maxpoolsize = 100
The following error occurs at this time: 2
Connections cocould not be acquired from the underlying database!
I haven't located it all the time. I suddenly remembered that there was a problem with the expiration of the Oracle 11g password in the past. Will MySQL also have it? Try it and I will not write much about it. See my blog.
Http://blog.csdn.net/dracotianlong/article/details/8100235
After modification, restart MySQL and tomcat. It is estimated that it is the reason for the Virtual Machine. Google does not find a more official description.