diff --git a/pom.xml b/pom.xml
index 7ad639451..84ae8331c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,6 +59,11 @@
org.springframework.boot
spring-boot-starter-test
test
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
diff --git a/src/main/resources/application-mysql.properties b/src/main/resources/application-mysql.properties
index ac7265d59..c3bf97b31 100644
--- a/src/main/resources/application-mysql.properties
+++ b/src/main/resources/application-mysql.properties
@@ -1,6 +1,6 @@
# database init, supports mysql too
database=mysql
-spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/petclinic}
+spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost:3306/petclinic}
spring.datasource.username=${MYSQL_USER:root}
spring.datasource.password=${MYSQL_PASS:Tech@123}
# SQL is written to be idempotent so this is safe
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 5d3eeed32..a8715b01a 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,13 +1,18 @@
# database init, supports mysql too
-database=h2
-spring.sql.init.schema-locations=classpath*:db/${database}/schema.sql
-spring.sql.init.data-locations=classpath*:db/${database}/data.sql
-
+# database=h2
+# spring.sql.init.schema-locations=classpath*:db/${database}/schema.sql
+# spring.sql.init.data-locations=classpath*:db/${database}/data.sql
+database=mysql
+spring.datasource.url=jdbc:mysql://localhost:3306/petclinic
+spring.datasource.username=root
+spring.datasource.password=Tech@123
+# SQL is written to be idempotent so this is safe
+spring.sql.init.mode=always
# Web
spring.thymeleaf.mode=HTML
# JPA
-spring.jpa.hibernate.ddl-auto=none
+spring.jpa.hibernate.ddl-auto=update
spring.jpa.open-in-view=true
# Internationalization
@@ -23,3 +28,6 @@ logging.level.org.springframework=INFO
# Maximum time static resources should be cached
spring.web.resources.cache.cachecontrol.max-age=12h
+# configure the Redis connection settings
+spring.redis.host=localhost
+spring.redis.port=6379
\ No newline at end of file