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 57
57
<groupId >com.h2database</groupId >
58
58
<artifactId >h2</artifactId >
59
59
</dependency >
60
+ <dependency >
61
+ <groupId >mysql</groupId >
62
+ <artifactId >mysql-connector-java</artifactId >
63
+ </dependency >
60
64
<dependency >
61
65
<groupId >org.springframework.boot</groupId >
62
66
<artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 1
1
# 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