Skip to content

Commit 38f7ab2

Browse files
Initial commit for Railway deployment
1 parent 36a7541 commit 38f7ab2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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}
1+
spring.datasource.url=jdbc:mysql://localhost:3306/bookstore_db
2+
spring.datasource.username=root
3+
spring.datasource.password=NewStrongPassword
4+
5+
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
66

77
spring.jpa.hibernate.ddl-auto=update
88
spring.jpa.show-sql=true
9-
spring.thymeleaf.cache=false
10-
server.port=8080
9+
10+
# ✅ Add this line to manually set dialect
11+
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect

0 commit comments

Comments
 (0)