We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f75d8 commit 50c2942Copy full SHA for 50c2942
pom.xml
@@ -57,6 +57,10 @@
57
<groupId>com.h2database</groupId>
58
<artifactId>h2</artifactId>
59
</dependency>
60
+ <dependency>
61
+ <groupId>mysql</groupId>
62
+ <artifactId>mysql-connector-java</artifactId>
63
+ </dependency>
64
<dependency>
65
<groupId>org.springframework.boot</groupId>
66
<artifactId>spring-boot-starter-test</artifactId>
src/main/resources/application.properties
@@ -1 +1,10 @@
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
0 commit comments