mirror of
https://gitee.com/mingSoft/MCMS.git
synced 2026-05-06 16:50:48 +08:00
config(db): 更新数据库连接配置
- 在数据库连接URL中添加allowPublicKeyRetrieval=true参数 - 解决MySQL 8.0版本的公钥检索问题
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/mcms?useUnicode=true&serverTimezone=Asia/Shanghai&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=false
|
||||
url: jdbc:mysql://localhost:3306/mcms?useUnicode=true&serverTimezone=Asia/Shanghai&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: root
|
||||
filters: wall,mergeStat
|
||||
|
||||
Reference in New Issue
Block a user