SSM配置JDBC错误: cquisition Attempt Failed!!!
异常:
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@20ffa401
-- 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 (3)
. Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'xiaom'@'IP' (using password: YES)
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:
Could not get JDBC Connection;
nested exception is java.sql.SQLException:
Connections could not be acquired from the underlying database!
发现问题
jdbc.properties文件之前的配置:
修改后:
先记下来, 后面有空具体看看原因