diff --git a/ktg-admin/pom.xml b/ktg-admin/pom.xml index 2ec34a2..8d2da14 100644 --- a/ktg-admin/pom.xml +++ b/ktg-admin/pom.xml @@ -117,7 +117,7 @@ com.microsoft.sqlserver mssql-jdbc - 12.2.0.jre8 + 12.4.2.jre8 diff --git a/ktg-admin/src/main/resources/application-druid.yml b/ktg-admin/src/main/resources/application-druid.yml index d268232..b09205e 100644 --- a/ktg-admin/src/main/resources/application-druid.yml +++ b/ktg-admin/src/main/resources/application-druid.yml @@ -16,7 +16,7 @@ spring: # 从数据源开关/默认关闭 enabled: true driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver - url: jdbc:sqlserver://192.168.8.68:1433;DatabaseName=DPG_RH_YQ_20240711;encrypt=true;trustServerCertificate=true + url: jdbc:sqlserver://192.168.8.68:1433;DatabaseName=DPG_RH_YQ_20240711;encrypt=false;trustServerCertificate=true; username: sa password: rh123456 # 初始连接数