mysql8.0的这么写"com.mysql.cj.jdbc.Driver"
<jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
connectionURL="jdbc:mysql://主机ip/表名?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT"
userId="root"
password="mysql密码">
</jdbcConnection>
网址:
https://mvnrepository.com/artifact/mysql/mysql-connector-java/8.0.12
不然高版本的mysql用低版本的jdbc会出现 Exception getting JDBC Driver
参考:
https://www.jianshu.com/p/582ae6d91154