From 56857dea4286112700495e5a920d3efca0ecde48 Mon Sep 17 00:00:00 2001 From: "dengchao@xgtl" <2325690622@qq.com> Date: Wed, 22 Apr 2020 16:03:27 +0800 Subject: [PATCH] Replace mysql driver --- contact-center/app/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact-center/app/src/main/resources/application.properties b/contact-center/app/src/main/resources/application.properties index 714925d4..fc4a2794 100644 --- a/contact-center/app/src/main/resources/application.properties +++ b/contact-center/app/src/main/resources/application.properties @@ -84,7 +84,7 @@ spring.data.elasticsearch.repositories.enabled=true spring.data.elasticsearch.properties.index.max_result_window=100000 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource -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/cosinee?useUnicode=true&characterEncoding=UTF-8 spring.datasource.username=root spring.datasource.password=123456