change - 修改`application.yml`文件,注释掉redis密码配置; 更新`application-druid.yml`文件,修改主库数据源的连接信息和凭据。

master
zch 4 weeks ago
parent 759594d4ae
commit 35894f9771

@ -6,9 +6,9 @@ spring:
# 主库数据源
master:
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://localhost:1433;SelectMethod=cursor;DatabaseName=HengTong
username: sa
password: haiwei@2024
url: jdbc:sqlserver://192.168.100.132:1433;SelectMethod=cursor;DatabaseName=HengTong
username: htuser
password: vRgE)?2rkF
# 从库数据源
slave:
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver

@ -86,7 +86,7 @@ spring:
# 数据库索引
database: 7
# 密码
password: 123456
# password: 123456
# 连接超时时间
timeout: 30s
lettuce:

Loading…
Cancel
Save