码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2018-11-25 16:16:44      阅读:289      评论:0      收藏:0      [点我收藏+]

标签:pass   ber   分享图片   jdbc   spring   --   src   new   jdbc错误   

异常:

警告: 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!!!

标签:pass   ber   分享图片   jdbc   spring   --   src   new   jdbc错误   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!