update sharding-proxy 5.3.2 => 5.4.0 配置文件写法升级

This commit is contained in:
疯狂的狮子Li
2023-08-02 12:26:27 +08:00
parent 6d8cc3495c
commit 83743b04b0
11 changed files with 313 additions and 228 deletions

View File

@@ -47,6 +47,8 @@ spring:
username: ${datasource.system-master.username}
password: ${datasource.system-master.password}
sharding:
lazy: true
type: ${spring.datasource.type}
driver-class-name: com.mysql.cj.jdbc.Driver
# shardingproxy 服务的ip地址
url: jdbc:mysql://127.0.0.1:3307/data-center_db?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true