Skip to content

Commit

Permalink
add MYSQL_PORT var to application.properties (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhtibrewal authored Jan 26, 2024
1 parent a2d4dc5 commit 800237e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skill-tree/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/${DB_NAME}
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${DB_NAME}
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
spring.datasource.username=${MYSQL_DB_USERNAME}
spring.datasource.password=${MYSQL_DB_PASSWORD}
Expand Down

0 comments on commit 800237e

Please sign in to comment.