本地调试

This commit is contained in:
pan
2025-07-21 10:37:57 +08:00
parent 471441918c
commit 764b57ae66
2 changed files with 19 additions and 9 deletions

View File

@@ -6,9 +6,15 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.1.168:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: tool_tech
password: Tooltech@123
#url: jdbc:mysql://120.26.204.194:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: root
#password: Password123@mysql
url: jdbc:mysql://localhost:3306/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
#url: jdbc:mysql://192.168.1.168:3307/tool_tech?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#username: tool_tech
#password: Tooltech@123
# 从库数据源
slave:
# 从数据源开关/默认关闭