diff --git a/os-admin/src/main/resources/application-druid.yml b/os-admin/src/main/resources/application-druid.yml index 99a85a3..0d124d1 100644 --- a/os-admin/src/main/resources/application-druid.yml +++ b/os-admin/src/main/resources/application-druid.yml @@ -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 diff --git a/os-admin/src/main/resources/application.yml b/os-admin/src/main/resources/application.yml index a0a026b..7c1ff55 100644 --- a/os-admin/src/main/resources/application.yml +++ b/os-admin/src/main/resources/application.yml @@ -86,7 +86,7 @@ spring: # 数据库索引 database: 7 # 密码 - password: 123456 +# password: 123456 # 连接超时时间 timeout: 30s lettuce: