We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a7541 commit 38f7ab2Copy full SHA for 38f7ab2
1 file changed
src/main/resources/application.properties
@@ -1,10 +1,11 @@
1
-spring.application.name=bookstore
2
-spring.datasource.url=${DB_URL}
3
-spring.datasource.username=${DB_USER}
4
-spring.datasource.password=${DB_PASS}
5
-server.port=${PORT:8080}
+spring.datasource.url=jdbc:mysql://localhost:3306/bookstore_db
+spring.datasource.username=root
+spring.datasource.password=NewStrongPassword
+
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
6
7
spring.jpa.hibernate.ddl-auto=update
8
spring.jpa.show-sql=true
9
-spring.thymeleaf.cache=false
10
-server.port=8080
+# ✅ Add this line to manually set dialect
11
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
0 commit comments