Skip to content

Commit

Permalink
setting: db연동 완료
Browse files Browse the repository at this point in the history
  • Loading branch information
Subak-Uncle committed Sep 8, 2023
1 parent 7657bd7 commit d176c33
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/resources/application.properties

This file was deleted.

22 changes: 22 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
spring:
jpa:
generate-ddl: true
hibernate:
ddl-auto: create
database-platform: org.hibernate.dialect.MySQL57Dialect
properties:
hibernate:
format_sql: 'true'
show_sql: 'true'
database: mysql
defer-datasource-initailization: 'true'
show-sql: 'true'
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
auto-commit: 'true'
password: loveloveshot
username: loveloveshot
url: jdbc:mysql://localhost:3306/loveloveshot?allowPublicKeyRetrieval=true&useSSL=false&characterEncoding=UTF-8&useUnicode=true&serverTimezone=Asia/Seoul
profiles:
active: dev

0 comments on commit d176c33

Please sign in to comment.