測(cè)試時(shí)候遇到數(shù)據(jù)庫(kù)連接問(wèn)題
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6ad57b45 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (2). Last acquisition attempt exception:?
java.sql.SQLException: Access denied for user '????£?è?“'@'localhost' (using password: YES)
Caused by: org.apache.ibatis.exceptions.PersistenceException:?
### Error updating database.? Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
Caused by: java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from?
以上是報(bào)錯(cuò),大致意思我理解是數(shù)據(jù)庫(kù)連接超時(shí)之類的,網(wǎng)上也找過(guò)問(wèn)題,但基本都不是。希望同遇到過(guò)該問(wèn)題的同學(xué)可以幫我解答一二
2020-03-09
我也是這個(gè)問(wèn)題