From 2c98a681ca89f60e560b141b205d63c6e2400ece Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 20 Nov 2019 09:56:32 +0000 Subject: [PATCH] Uncomment sql initialization for mysql --- src/main/resources/application-mysql.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-mysql.properties b/src/main/resources/application-mysql.properties index 823b32b697f..38d81f99f47 100644 --- a/src/main/resources/application-mysql.properties +++ b/src/main/resources/application-mysql.properties @@ -3,5 +3,5 @@ database=mysql spring.datasource.url=jdbc:mysql://localhost/petclinic spring.datasource.username=root spring.datasource.password=petclinic -# Uncomment this the first time the app runs -# spring.datasource.initialization-mode=always +# SQL is written to be idempotent so this is safe +spring.datasource.initialization-mode=always