Skip to content

Commit 529fdc3

Browse files
committed
docs: 配置说明文档修改为各服务使用不同库
1 parent 79553c5 commit 529fdc3

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

.docs/intro/application-config-example.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,7 @@ spring:
169169
primary: master
170170
datasource:
171171
master:
172-
url: jdbc:p6spy:mysql://localhost:3306/demo?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
173-
username: root
174-
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
175-
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
176-
slave1:
177-
url: jdbc:p6spy:mysql://localhost:3306/demo_cluster?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
172+
url: jdbc:p6spy:mysql://localhost:3306/uni_boot_dev?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
178173
username: root
179174
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
180175
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
@@ -210,12 +205,7 @@ spring:
210205
primary: master
211206
datasource:
212207
master:
213-
url: jdbc:p6spy:mysql://localhost:3306/demo?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
214-
username: root
215-
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
216-
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
217-
slave1:
218-
url: jdbc:p6spy:mysql://localhost:3306/demo_cluster?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
208+
url: jdbc:p6spy:mysql://localhost:3306/uni_boot_dev_example?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
219209
username: root
220210
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
221211
driver-class-name: com.p6spy.engine.spy.P6SpyDriver

0 commit comments

Comments
 (0)