Skip to content

Configure database

Piyush Chaudhari edited this page Sep 13, 2018 · 1 revision

Configure database properties on application.properties as below
.

spring.datasource.url=jdbc:mysql://localhost:3306/EhcacheDB?createDatabaseIfNotExist=true
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update

Clone this wiki locally