Dev/Spring Boot
[H2] spring boot 에서 h2 memory db 사용하기
냐옴
2019. 12. 13. 14:43
application.yml 을 설정한다
spring:
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:testdb
username: sa
password:
h2:
console:
enabled: true
path: /h2-console
애플리케이션을 실행하고
브라우저에서 접속한다
http://localhost:8080/h2-console