From baec208a7a710f2a23e3e3a900d821d870b4a6f6 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Tue, 10 Aug 2021 21:58:12 +0800 Subject: [PATCH] Modify the appropriate MySQL driver. --- dynamic-threadpool-server/src/main/resources/application.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamic-threadpool-server/src/main/resources/application.yaml b/dynamic-threadpool-server/src/main/resources/application.yaml index 92f64c10..544339f5 100644 --- a/dynamic-threadpool-server/src/main/resources/application.yaml +++ b/dynamic-threadpool-server/src/main/resources/application.yaml @@ -3,7 +3,7 @@ server: spring: datasource: - driver-class-name: com.mysql.jdbc.Driver + driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://47.94.158.71:3306/dynamic-threadpool?characterEncoding=UTF-8 username: root password: root @@ -23,4 +23,4 @@ mybatis-plus: db-config: logic-delete-field: delFlag logic-delete-value: 1 - logic-not-delete-value: 0 \ No newline at end of file + logic-not-delete-value: 0