💡build.gradle
// dependencies 추가
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
💡application.yml
spring:
datasource:
url: jdbc:mariadb://localhost:3306/[schema]?serverTimezone=UTC
username: [DB username]
password: [DB password]
driver-class-name: org.mariadb.jdbc.Driver
'🌝Coding > 🌟SpringBoot' 카테고리의 다른 글
[SpringBoot] @CreatedDate @LastModifiedDate (0) | 2024.05.14 |
---|---|
[SpringBoot] JPA (0) | 2023.11.21 |
[SpringBoot] Spring Initializr (0) | 2023.11.20 |