1. 程式人生 > >Connections could not be acquired from the underlying database!

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

資料庫版本不一致導致的

把這個和安裝的資料庫版本保持一致就解決這個問題了