使得jdbc连接串支持mysql 8

This commit is contained in:
dark 2021-03-06 01:53:06 +08:00
parent ba34e3c987
commit 6dde9095a4

View File

@ -7,7 +7,7 @@ spring:
# 数据源配置项 TODO 多数据源TODO 监控配置 # 数据源配置项 TODO 多数据源TODO 监控配置
datasource: datasource:
name: ruoyi-vue-pro name: ruoyi-vue-pro
url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.name}?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.name}?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&allowPublicKeyRetrieval=true
driver-class-name: com.mysql.jdbc.Driver driver-class-name: com.mysql.jdbc.Driver
username: root username: root
password: 123456 password: 123456