MySQL Connector/J 8.0 支持 MySQL 5.6 及之后的版本

MySQL Connector/J is the official JDBC driver for MySQL. MySQL Connector/J 8.0 is compatible with all MySQL versions starting with MySQL 5.6. Additionally, MySQL Connector/J 8.0 supports the new X DevAPI for development with MySQL Server 8.0.

需要使用
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注