Skip to content

Commit

Permalink
fix: Update MySQL timezone to Asia/Seoul in datasource URL
Browse files Browse the repository at this point in the history
  • Loading branch information
cussle committed Nov 15, 2024
1 parent 61a0ccb commit ad17ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spring.jpa.properties.hibernate.format_sql=true
spring.jpa.show-sql=true

# db
spring.datasource.url=jdbc:mysql://3.34.144.148:3306/devcard_db?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.url=jdbc:mysql://localhost:3306/devcard_db?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul&characterEncoding=UTF-8
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
Expand Down

0 comments on commit ad17ed8

Please sign in to comment.