This commit is contained in:
hucs
2024-06-05 17:21:44 +08:00
parent 6e2c2ec7f1
commit 3b0b1a4d33
6 changed files with 23 additions and 33 deletions

View File

@@ -9,7 +9,7 @@ spring:
# 配置MySQL的驱动程序类
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
# 数据库连接地址(以MySql为例)
url: jdbc:p6spy:mysql://122.51.20.105:3306/play-with?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&serverTimezone=UTC
url: jdbc:p6spy:mysql://122.51.20.105:3306/play-with?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true
# 数据库对应的用户名
username: root
# 数据库对应的密码
@@ -67,10 +67,10 @@ spring:
# HTML 中 Reset All 按钮
reset-enable: true
redis:
host: 127.0.0.1 # Redis服务器地址
database: 1 # Redis数据库索引默认为0
port: 6379 # Redis服务器连接端口
password: Spinfo@0123
host: 122.51.20.105 # Redis服务器地址
database: 10 # Redis数据库索引默认为0
port: 19087 # Redis服务器连接端口
password: arcikXa7ZkEBGtLf
timeout: 3000ms # 连接超时时间(毫秒)