From fae6df38db5b7ef7c053be0fb027349ec52e3d5a Mon Sep 17 00:00:00 2001 From: LEEJK0523 <40297503+LEEJK0523@users.noreply.github.com> Date: Tue, 21 May 2024 16:32:22 +0900 Subject: [PATCH] =?UTF-8?q?mariaDB=20JDBC=20=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 19 +++++++++++++++---- src/main/resources/application.properties | 3 ++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index f3aca68..c22ec6a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.boot - spring-boot-starter-parent + spring-boot-starter-parent 2.3.12.RELEASE @@ -69,13 +69,24 @@ provided - + + + + org.mariadb.jdbc + mariadb-java-client + + + com.github.waffle + waffle-jna + + + org.mybatis.spring.boot diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e065fe0..c79fbc9 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +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.driver-class-name=org.mariadb.jdbc.Driver +spring.datasource.url=jdbc:mariadb://leejk0523.com:3306/profile?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&allowPublicKeyRetrieval=true spring.datasource.username=root spring.datasource.password=Ghtkssk0325