Could not get JDBC Connection; Connections could not be acquired from the underlying database!
错误如图,原因是我重新安装了mysql,原来版本是5.7,现在是8.0,用了以前的jar包。换一个最新的jar包就可以了
另外8.0的连接地址也需要加上characterEncoding
jdbc:mysql://localhost:3306/educationalInfo?characterEncoding=utf8&useSSL=false
...
原创
2019-09-17 20:22:49 ·
282 阅读 ·
0 评论