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配置