mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update application-mysql.properties
This commit is contained in:
parent
1561eb5506
commit
fe62e017c2
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# database init, supports mysql too
|
# database init, supports mysql too
|
||||||
database=mysql
|
database=mysql
|
||||||
spring.datasource.url=jdbc:mysql://localhost/petclinic
|
spring.datasource.url=${MYSQL_DB:jdbc:mysql://localhost/petclinic}
|
||||||
spring.datasource.username=root
|
spring.datasource.username=${MYSQL_USER:petclinic@petclinicdb2}
|
||||||
spring.datasource.password=petclinic
|
spring.datasource.password=${MYSQL_PASS:petclinic}
|
||||||
# SQL is written to be idempotent so this is safe
|
# Uncomment this the first time the app runs
|
||||||
spring.datasource.initialization-mode=always
|
spring.datasource.initialization-mode=always
|
||||||
|
|
Loading…
Reference in a new issue