Guest User

Untitled

a guest
Sep 26th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. # uncomment for init database (first start)
  2. spring.datasource.initialize=true
  3. spring.datasource.schema=classpath*:db/mysql/initDB.sql
  4. spring.datasource.data=classpath*:db/mysql/populateDB.sql
  5.  
  6. # MySQL config start
  7. #----------------------------------------------------------------
  8. spring.datasource.url = jdbc:mysql://localhost:3306/petclinic?useUnicode=true
  9. spring.datasource.username=root
  10. spring.datasource.password=petclinic
  11. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  12. spring.jpa.database=MYSQL
  13. spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
  14. spring.jpa.hibernate.ddl-auto=none
  15. #----------------------------------------------------------------
  16. # MySQL config end
Add Comment
Please, Sign In to add comment