File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 5757 <groupId >com.h2database</groupId >
5858 <artifactId >h2</artifactId >
5959 </dependency >
60+ <dependency >
61+ <groupId >mysql</groupId >
62+ <artifactId >mysql-connector-java</artifactId >
63+ </dependency >
6064 <dependency >
6165 <groupId >org.springframework.boot</groupId >
6266 <artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 11# logging.level.org.h2.server: DEBUG
2+ # Database
3+ spring.datasource.driver-class-name =com.mysql.jdbc.Driver
4+ spring.datasource.url = jdbc:mysql://localhost:3306/springbootdb
5+ spring.datasource.username =root
6+ spring.datasource.password =
7+
8+
9+ spring.jpa.database-platform =org.hibernate.dialect.MySQLDialect
10+ spring.jpa.hibernate.ddl-auto =create-drop
You can’t perform that action at this time.
0 commit comments