Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not get JDBC Connection #2

Open
yuezhao-zy opened this issue Jun 29, 2018 · 2 comments
Open

Could not get JDBC Connection #2

yuezhao-zy opened this issue Jun 29, 2018 · 2 comments

Comments

@yuezhao-zy
Copy link

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

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

@zou-Jack
Copy link
Owner

zou-Jack commented Jul 7, 2018

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

@yuezhao-zy
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants