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

今天将项目发布到服务器运行时出现Connections could not be acquired from the underlying database,项目在本地测试没有问题 ,就去看了下查看tomcat 日志 发现mysql的用户名不是项目中使用的,历经周折终于找到问题所在 配置数据源时用来存储mysql用户名的键user与系统某个配置可能冲突 修改为其他键名 这样错误就解决了
相关文章
相关标签/搜索