MySQL5.7与8.0数据库驱动配置区别

MySQL5.7

spring.datasource.url=jdbc:mysql://192.168.31.200:3306/xxl_job?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver

MySQL8.0

spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

			mysql
			mysql-connector-java
			8.0.23

你可能感兴趣的:(中间键,big,data,mysql,数据库)