From 471f8b5a610a24b0fbca83b94ed09286a670e624 Mon Sep 17 00:00:00 2001 From: jimi567 <28584160+jimi567@users.noreply.github.com> Date: Wed, 23 Oct 2024 20:47:17 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20db=20mysql=20=EB=A7=88=EC=9D=B4?= =?UTF-8?q?=EA=B7=B8=EB=A0=88=EC=9D=B4=EC=85=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/application-dev.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/backend/src/main/resources/application-dev.yml b/backend/src/main/resources/application-dev.yml index 711d0c735..8381facf4 100644 --- a/backend/src/main/resources/application-dev.yml +++ b/backend/src/main/resources/application-dev.yml @@ -18,14 +18,10 @@ file: spring: datasource: - driver-class-name: org.h2.Driver - url: jdbc:h2:file:/home/ubuntu/h2_test_data;AUTO_SERVER=true - username: ${H2_CONSOLE_USERNAME} - password: ${H2_CONSOLE_PASSWORD} - h2: - console: - enabled: true - path: ${H2_CONSOLE_ENDPOINT} + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/friendogly?useSSL=false&serverTimezone=Asia/Seoul&characterEncoding=UTF-8 + username: ${MYSQL_USER_NAME} + password: ${MYSQL_PASSWORD} jpa: hibernate: ddl-auto: update