Skip to content

Commit

Permalink
feat: change db url and log format
Browse files Browse the repository at this point in the history
- 데이터베이스 url 및 로그 형식과 시간대 변경
  • Loading branch information
seokwns committed Jan 19, 2024
1 parent 7666a1e commit a5be160
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions see-realview/src/main/resources/application-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring:
livereload:
enabled: true
datasource:
url: jdbc:mysql://localhost:3306/see-realview
url: jdbc:mysql://localhost:3306/see-realview?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&useLegacyDatetimeCode=false
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:h2:mem:test;MODE=MySQL
# driver-class-name: org.h2.Driver
Expand All @@ -21,7 +21,7 @@ spring:
enabled: true
jpa:
hibernate:
ddl-auto: none
ddl-auto: create
show-sql: true
properties:
hibernate:
Expand All @@ -40,4 +40,6 @@ spring:
logging:
level:
'[com.see.realview]': DEBUG
'[org.hibernate.type]': TRACE
'[org.hibernate.type]': TRACE
pattern:
dateformat: yyyy-MM-dd | HH:mm:ss.SSS |, Asia/Seoul

0 comments on commit a5be160

Please sign in to comment.