From 1db169ec2ba5912f8272f0518776f4b6efc7356f Mon Sep 17 00:00:00 2001 From: "ovkhasch (aider)" Date: Fri, 4 Oct 2024 05:23:34 +0300 Subject: [PATCH 1/2] Issue: 28b4ae57-859b-4ab5-9d53-af48d9a3a5ba. Description: Revoke and change this password, as it is compromised. --- src/main/resources/application-mysql.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-mysql.properties b/src/main/resources/application-mysql.properties index 823b32b6..2bfdd3f1 100644 --- a/src/main/resources/application-mysql.properties +++ b/src/main/resources/application-mysql.properties @@ -2,6 +2,6 @@ database=mysql spring.datasource.url=jdbc:mysql://localhost/petclinic spring.datasource.username=root -spring.datasource.password=petclinic +spring.datasource.password=${MYSQL_PASSWORD} # Uncomment this the first time the app runs # spring.datasource.initialization-mode=always From 8cea0b2c6143eb9cf11ac4b61b4bef5c1c19272d Mon Sep 17 00:00:00 2001 From: "ovkhasch (aider)" Date: Fri, 4 Oct 2024 05:23:46 +0300 Subject: [PATCH 2/2] Issue: 68aa06f1-0541-4af8-aaf1-10f47ac63914. Description: Make sure this database password gets changed and removed from the code. --- src/main/resources/application-mysql.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-mysql.properties b/src/main/resources/application-mysql.properties index 2bfdd3f1..1125dea5 100644 --- a/src/main/resources/application-mysql.properties +++ b/src/main/resources/application-mysql.properties @@ -2,6 +2,6 @@ database=mysql spring.datasource.url=jdbc:mysql://localhost/petclinic spring.datasource.username=root -spring.datasource.password=${MYSQL_PASSWORD} +spring.datasource.password=${DB_PASSWORD} # Uncomment this the first time the app runs # spring.datasource.initialization-mode=always