examination_system- icon indicating copy to clipboard operation
examination_system- copied to clipboard

Could not get JDBC Connection

Open yuezhao-zy opened this issue 6 years ago • 2 comments

Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!

The error may exist in com/system/mapper/UserloginMapper.xml

The error may involve com.system.mapper.UserloginMapper.selectByExample

The error occurred while executing a query

可以帮忙解释下这是为啥吗?

yuezhao-zy avatar Jun 29 '18 09:06 yuezhao-zy

报错是数据库的问题,检查项目里面写了数据库账户密码的配置文件,是不是跟你的数据库账号密码一样?

zou-Jack avatar Jul 07 '18 11:07 zou-Jack

谢谢,已经解决了。是jdbc-connector jar包的版本与我的mysql不一致,我更新了一下jar就可以连接了。谢谢啦!

yuezhao-zy avatar Jul 08 '18 10:07 yuezhao-zy