h2-console

김시원·2022년 8월 2일
0

이걸로 또 한시간 삽질...
하ㅜㅜ

JDBC URL 무조건 application.properties에 적은거 복사해서!
application.properties에 spring.datasource.url 하나만 적어주기....
spring.datasource.username = sa
spring.datasource.password = (공백)

spring.datasource.url=jdbc:h2:mem:testdb

<application.properties>

spring.h2.console.enabled=true
spring.jpa.show-sql=true
spring.datasource.url=jdbc:h2:mem:testdb

#spring.datasource.url=jdbc:mysql://springboot-database.cw9jw1nxdbme.ap-northeast-2.rds.amazonaws.com:3306/myselectshop
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.hibernate.ddl-auto=update
profile
IT 개발자 시원

0개의 댓글