From 0c659e8c175da86fae5b29c70beb61b7233d5a85 Mon Sep 17 00:00:00 2001
From: LEEJK0523 <40297503+LEEJK0523@users.noreply.github.com>
Date: Thu, 23 May 2024 12:42:06 +0900
Subject: [PATCH] =?UTF-8?q?mariaDB=20JDBC=20=EB=A1=9C=20=EA=B5=90=EC=B1=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 9 +++++++--
src/main/resources/application.properties | 4 ++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 954a118..af53200 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,13 +73,18 @@
mysql
mysql-connector-java
-
+
+
+
+ org.mariadb.jdbc
+ mariadb-java-client
+
org.mybatis.spring.boot
mybatis-spring-boot-starter
- 2.1.2
+ 2.3.2
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index e065fe0..25ae8fa 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,6 +1,6 @@
# DB
-spring.datasource.url=jdbc:mysql://leejk0523.com:3306/profile?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&allowPublicKeyRetrieval=true
-spring.datasource.username=root
+spring.datasource.url=jdbc:mariadb://leejk0523.com:3306/profile?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&autoReconnect=true&verifyServerCertificate=false&useSSL=false
+spring.datasource.username=leejk0523
spring.datasource.password=Ghtkssk0325
# Encoding