From e01cd5160ba34f546d6851d1f1e2eac7ca2ef6e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com>
Date: Wed, 24 Sep 2025 16:12:21 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E6=89=93=E5=8C=85=E9=95=9C=E5=83=8F?=
=?UTF-8?q?=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9java17=E9=85=8D=E7=BD=AE,?=
=?UTF-8?q?=E5=8E=BB=E9=99=A4sqlserver=E7=9B=B8=E5=85=B3=E4=BE=9D=E8=B5=96?=
=?UTF-8?q?=E5=92=8C=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../yudao-spring-boot-starter-mybatis/pom.xml | 22 +++++++++----------
.../src/main/resources/application-local.yaml | 5 ++---
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
index 3505473..2fee7a5 100644
--- a/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
+++ b/yudao-framework/yudao-spring-boot-starter-mybatis/pom.xml
@@ -43,18 +43,18 @@
postgresql
true
-
- com.microsoft.sqlserver
- mssql-jdbc
- 11.2.0.jre11
+
+
+
+
- true
-
-
- com.microsoft.sqlserver
- sqljdbc4
- 4.0
-
+
+
+
+
+
+
+
com.dameng
DmJdbcDriver18
diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml
index 5327cbc..8067e2a 100644
--- a/yudao-server/src/main/resources/application-local.yaml
+++ b/yudao-server/src/main/resources/application-local.yaml
@@ -66,9 +66,8 @@ spring:
slave: # 模拟从库,可根据自己需要修改
# lazy: true # 开启懒加载,保证启动速度
# url: jdbc:mysql://120.26.116.243:3306/alert?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
- url: jdbc:sqlserver://120.27.236.75:1433;DatabaseName=alert # SQLServer 连接的示例
- driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
- username: sa
+ url: jdbc:mysql://120.26.116.243:3306/alert?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
+ username: root
password: powerSIS#123
# tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!)
# url: jdbc:TAOS-RS://127.0.0.1:6041/ruoyi_vue_pro