From 16512c7d818c5f9ee8331290782a56e1b0812bef Mon Sep 17 00:00:00 2001 From: banjjoknim Date: Fri, 25 Mar 2022 03:03:40 +0900 Subject: [PATCH] =?UTF-8?q?chore=20:=20database,=20jpa=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spring-security/src/main/resources/application.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/놀이터(예제 코드 작성)/spring-security/src/main/resources/application.yml b/놀이터(예제 코드 작성)/spring-security/src/main/resources/application.yml index d6de8fb..5cd2fc4 100644 --- a/놀이터(예제 코드 작성)/spring-security/src/main/resources/application.yml +++ b/놀이터(예제 코드 작성)/spring-security/src/main/resources/application.yml @@ -1,4 +1,17 @@ spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/security?serverTimezone=Asia/Seoul + username: root + password: password! + + jpa: + hibernate: + ddl-auto: update + naming: + physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl + show-sql: true + security: oauth2: client: