修改数据库配置

This commit is contained in:
giaogiao 2023-12-21 10:15:44 +08:00
parent dab93717bf
commit 6325b2b437
2 changed files with 5 additions and 5 deletions

3
.idea/.gitignore vendored
View File

@ -1,2 +1,3 @@
# Default ignored files # Default ignored files
/workspace.xml /workspace.xml
/logs/*

View File

@ -23,11 +23,10 @@ spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/welfare?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true url: jdbc:mysql://localhost:3306/welfare?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root username: welfare
password: root password: welfare
redis: redis:
password: yjhon.com host: 127.0.0.1
host: 121.196.96.144
port: 6379 port: 6379
database: 10 database: 10
timeout: 10s timeout: 10s