본문 바로가기

Spring

[스프링부트] JPA, MySQL, AWS-RDS 설정하기 application.yml

1
2
3
4
5
6
7
8
9
10
11
spring:
  jpa:
    database-platform: org.hibernate.dialect.MySQLDialect
    show-sql: true
    hibernate:
      ddl-auto: update 
  datasource:
   url: jdbc:mariadb://demo....14le0.ap-northeast-2.rds.amazonaws.com:3306/travel
    driver-class-name: org.mariadb.jdbc.Driver
    username: demo
    password: demonstration
cs