Created
September 27, 2018 04:06
-
-
Save bvader/8327fcea691e1016e9fdd4403478886d to your computer and use it in GitHub Desktop.
spring-petclinic-rest:src/main/resources/application-mysql.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment