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