You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2021/01/23 14:49:32 UTC

[fineract] branch develop updated: Fix MySQL Access Denied Issue (FINERACT-1294)

This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9ffadb2  Fix MySQL Access Denied Issue (FINERACT-1294)
9ffadb2 is described below

commit 9ffadb248d8cd910982d46d8d20839aea6732271
Author: BLasan <be...@gmail.com>
AuthorDate: Wed Jan 20 16:16:26 2021 +0530

    Fix MySQL Access Denied Issue (FINERACT-1294)
---
 README.md                               | 6 ++++++
 kubernetes/fineractmysql-deployment.yml | 6 +-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 210b78f..985ab3e 100644
--- a/README.md
+++ b/README.md
@@ -178,6 +178,12 @@ To shutdown and reset your cluster, run:
 
     ./kubectl-shutdown.sh
 
+To shutdown and reset your cluster, run:
+
+    minikube ssh
+
+    sudo rm -rf /mnt/data/
+
 We have [some open issues in JIRA with Kubernetes related enhancement ideas](https://jira.apache.org/jira/browse/FINERACT-783?jql=labels%20%3D%20kubernetes%20AND%20project%20%3D%20%22Apache%20Fineract%22%20) which you are welcome to contribute to.
 
 
diff --git a/kubernetes/fineractmysql-deployment.yml b/kubernetes/fineractmysql-deployment.yml
index e521ff4..e8f65e7 100644
--- a/kubernetes/fineractmysql-deployment.yml
+++ b/kubernetes/fineractmysql-deployment.yml
@@ -96,11 +96,7 @@ spec:
                   key: password
           livenessProbe:
             exec:
-              command:
-                - mysqladmin
-                - ping
-                - -h
-                - localhost
+              command: ["sh","-c","mysqladmin ping -h localhost -uroot -p${MYSQL_ROOT_PASSWORD}"]
             failureThreshold: 10
             timeoutSeconds: 10
           ports: