数据库连接不上
来源:9-12 HTTP案例部署展示

2016阿文
2019-04-17
项目启动,打开商品列表报这个错误?
Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!] with root cause
com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
数据源配置检查过多次,我看老师在演示视频的时候也有这个问题,不知道怎么解决的?
写回答
3回答
-
2016阿文
提问者
2019-04-19
是数据库版本不一致的问题,不要使用mysql8.0的,建议使用mysql5.7
10 -
Allen
2019-04-18
看到你群里已经解决了, 有时间把错误原因总结一下发出来让大家看看呗
00 -
Allen
2019-04-17
额 这个错误截个图呗, 只需要截取最后一截内容
00
相似问题