From 9eedd97283e40eb44f4a1ca625912d8f276fc8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=84=EB=B8=8C=EC=9E=85=EB=8B=88=EB=8B=A4=2E?= Date: Wed, 23 Oct 2024 20:58:40 +0900 Subject: [PATCH] =?UTF-8?q?[BE]=20dev=20db=20=EB=A7=88=EC=9D=B4=EA=B7=B8?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=85=98=20(#719)?= 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 c02450651..08a713b84 100644 --- a/backend/src/main/resources/application-dev.yml +++ b/backend/src/main/resources/application-dev.yml @@ -24,14 +24,10 @@ spring: port: 5672 stomp-port: 61613 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