使得jdbc连接串支持mysql 8
This commit is contained in:
parent
ba34e3c987
commit
6dde9095a4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user