Commit 6dde9095a43bb22a465c83f12ae4e00e2f01498c

Authored by dark
1 parent ba34e3c9

使得jdbc连接串支持mysql 8

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