From 30b136e99ff5fa50935166f7b8651e9dec2643c9 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Fri, 25 Jul 2025 00:33:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A5mysql=E7=89=88=E6=9C=AC=E4=B8=BA8.0.24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-boot/pom.xml | 2 +- jshERP-boot/src/main/resources/application.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jshERP-boot/pom.xml b/jshERP-boot/pom.xml index 68cdf4ea..344b8bcb 100644 --- a/jshERP-boot/pom.xml +++ b/jshERP-boot/pom.xml @@ -50,7 +50,7 @@ mysql mysql-connector-java - 5.1.30 + 8.0.33 diff --git a/jshERP-boot/src/main/resources/application.properties b/jshERP-boot/src/main/resources/application.properties index a526183a..633faca7 100644 --- a/jshERP-boot/src/main/resources/application.properties +++ b/jshERP-boot/src/main/resources/application.properties @@ -5,7 +5,7 @@ server.servlet.session.timeout=36000 server.servlet.context-path=/jshERP-boot #数据库连接 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false -spring.datasource.driverClassName=com.mysql.jdbc.Driver +spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.username=root spring.datasource.password=123456 #mybatis-plus配置