首页 > 数据库技术 > 详细

SSM配置JDBC错误: cquisition Attempt Failed!!!

时间:2018-11-25 15:06:10      阅读:283      评论:0      收藏:0      [点我收藏+]

异常:

警告: 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文件之前的配置:

技术分享图片

修改后:

技术分享图片

技术分享图片

先记下来, 后面有空具体看看原因

SSM配置JDBC错误: cquisition Attempt Failed!!!

原文:https://www.cnblogs.com/52liming/p/10015538.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!