From 27778da18974759110c024c3a168b5ced01563e2 Mon Sep 17 00:00:00 2001 From: aw1996ecolytiq Date: Thu, 3 Feb 2022 10:07:19 +0100 Subject: [PATCH] changing database back to docker --- service/src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/main/resources/application.properties b/service/src/main/resources/application.properties index add162d8..1d4ef9d4 100644 --- a/service/src/main/resources/application.properties +++ b/service/src/main/resources/application.properties @@ -4,9 +4,9 @@ spring.jpa.hibernate.ddl-auto=update #spring.jpa.hibernate.ddl-auto=create ###### use if you want to run the application with docker -#spring.datasource.url=jdbc:mysql://database:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false +spring.datasource.url=jdbc:mysql://database:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false ###### use if you want to run the application locally -spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false +#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bootdb?createDatabaseIfNotExist=true&autoReconnect=true&useSSL=false spring.datasource.username=root spring.datasource.password=secret