Connections could not be acquired from the underlying database! 特殊情况

来源:互联网 发布:前端mac 编辑:程序博客网 时间:2024/06/03 16:14

今天将项目发布到服务器运行时出现Connections could not be acquired from the underlying database,项目在本地测试没有问题

,就去看了下查看tomcat 日志


发现mysql的用户名不是项目中使用的,历经周折终于找到问题所在


配置数据源时用来存储mysql用户名的键user与系统某个配置可能冲突




修改为其他键名


这样错误就解决了

阅读全文
0 0
原创粉丝点击