From d19e4a79e95c6785ebbff4ef209b9eab91b37853 Mon Sep 17 00:00:00 2001 From: tanghc Date: Thu, 29 Aug 2019 12:07:49 +0800 Subject: [PATCH] 2.0 --- .../src/main/resources/application-dev.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sop-admin/sop-admin-server/src/main/resources/application-dev.properties b/sop-admin/sop-admin-server/src/main/resources/application-dev.properties index 530f54bc..4e5b912e 100644 --- a/sop-admin/sop-admin-server/src/main/resources/application-dev.properties +++ b/sop-admin/sop-admin-server/src/main/resources/application-dev.properties @@ -20,7 +20,7 @@ nacos.config.server-addr=${nacos.url} nacos.discovery.server-addr=${nacos.url} # 数据库配置 -spring.datasource.driver-class-name=com.mysql.jdbc.Driver +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/sop?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull spring.datasource.username=${mysql.username} spring.datasource.password=${mysql.password}