mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
DBをhsqldbからmysqlに変更
This commit is contained in:
parent
ffa967c94b
commit
bc66b0b3e2
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
# database init, supports mysql too
|
||||
database=hsqldb
|
||||
database=mysql
|
||||
spring.datasource.schema=classpath*:db/${database}/schema.sql
|
||||
spring.datasource.data=classpath*:db/${database}/data.sql
|
||||
spring.datasource.url=jdbc:mysql://localhost/
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=petclinic
|
||||
|
||||
# Web
|
||||
spring.thymeleaf.mode=HTML
|
||||
|
|
Loading…
Reference in a new issue