From 9ffadb248d8cd910982d46d8d20839aea6732271 Mon Sep 17 00:00:00 2001 From: BLasan Date: Wed, 20 Jan 2021 16:16:26 +0530 Subject: [PATCH] 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 210b78ff3..985ab3e5f 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 e521ff4e0..e8f65e7fe 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: