From 397c6003970432a8009b81916e55754c1874e03d Mon Sep 17 00:00:00 2001
From: guang <guang@guang.com>
Date: 星期六, 06 五月 2023 09:49:27 +0800
Subject: [PATCH] 换数据库driver

---
 src/main/resources/application-local.properties |    2 +-
 src/main/resources/application-prod.properties  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/application-local.properties b/src/main/resources/application-local.properties
index 2a882f0..a03423f 100644
--- a/src/main/resources/application-local.properties
+++ b/src/main/resources/application-local.properties
@@ -5,7 +5,7 @@
 spring.datasource.url=jdbc:mysql://localhost:3306/phi_other_service?useUnicode=true&characterEncoding=UTF-8
 spring.datasource.username=root
 spring.datasource.password=root
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 
 logging.level.org.springframework.boot.autoconfigure = error
 
diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties
index adaa88d..09f8a3a 100644
--- a/src/main/resources/application-prod.properties
+++ b/src/main/resources/application-prod.properties
@@ -5,7 +5,7 @@
 spring.datasource.url=jdbc:mysql://localhost:3306/phi_other_service?useUnicode=true&characterEncoding=UTF-8
 spring.datasource.username=root
 spring.datasource.password=root
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 
 logging.level.org.springframework.boot.autoconfigure = error
 

--
Gitblit v1.8.0