Skip to content

Commit a0dae88

Browse files
author
danbai225
committed
2 parents e676f40 + b3068f6 commit a0dae88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/resources/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ spring:
1212
date-format: yyyy-MM-dd HH:mm:ss
1313
data:
1414
mongodb:
15-
uri: mongodb://danmu:danmu@39.108.110.44:27017/dm
15+
uri: mongodb://danmu:pass@39.108.110.44:27017/dm
1616
thymeleaf:
1717
cache: false
1818
mode: LEGACYHTML5
1919
datasource:
2020
druid:
2121
url: jdbc:mysql://185.207.153.189:3306/ys?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
2222
username: ys
23-
password: hjj225
23+
password: pass
2424
initial-size: 1
2525
min-idle: 1
2626
max-active: 20
2727
test-on-borrow: true
2828
driver-class-name: com.mysql.cj.jdbc.Driver
2929
redis:
3030
database: 0
31-
host: 185.207.153.189
31+
host: 127.0.0.1
3232
port: 6379
3333
timeout: 10000
3434
mybatis:

src/main/resources/jdbc.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
jdbc.driverClass=com.mysql.jdbc.Driver
22
jdbc.connectionURL=jdbc:mysql://185.207.153.189:3306/ys?useUnicode=true&characterEncoding=utf-8&useSSL=false
33
jdbc.username=ys
4-
jdbc.password=hjj225
4+
jdbc.password=***

0 commit comments

Comments
 (0)