Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # uncomment for init database (first start)
- spring.datasource.initialize=true
- spring.datasource.schema=classpath*:db/mysql/initDB.sql
- spring.datasource.data=classpath*:db/mysql/populateDB.sql
- # MySQL config start
- #----------------------------------------------------------------
- spring.datasource.url = jdbc:mysql://localhost:3306/petclinic?useUnicode=true
- spring.datasource.username=root
- spring.datasource.password=petclinic
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- spring.jpa.database=MYSQL
- spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
- spring.jpa.hibernate.ddl-auto=none
- #----------------------------------------------------------------
- # MySQL config end
Add Comment
Please, Sign In to add comment