Connections could not be acquired from the underlying database!

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

今天写单元测试的时候遇到的数据库问题,百度可能会有各种各样的答案,但是我这个是因为,MySQL

数据库版本不一致导致的

把这个和安装的数据库版本保持一致就解决这个问题了

猜你喜欢

转载自blog.csdn.net/pengyu1801/article/details/82465130