Skip to content

Commit

Permalink
Feat: azure 배포를 위한 DB 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewon-io committed Mar 13, 2024
1 parent ad345bc commit 1ba59b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'com.h2database:h2'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spring:
hikari:
maximum-pool-size: '${custom.hikari.maximum-pool-size}'
idle-timeout: '${custom.hikari.idle-timeout}'
driver-class-name: org.mariadb.jdbc.Driver
driver-class-name: com.mysql.cj.jdbc.Driver
url: '${custom.db.url}'
username: '${custom.db.username}'
password: '${custom.db.password}'
Expand All @@ -28,7 +28,7 @@ spring:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MariaDBDialect
dialect: org.hibernate.dialect.MySQL8Dialect
format_sql: true
show_sql: true
use_sql_comments: true
Expand Down

0 comments on commit 1ba59b1

Please sign in to comment.