I have a database running in local machine which i can access it using 127.0.0.1 or localhost, I need to access this database from my spring boot application which is deployed in local minikube kubernetes cluster.
how can i do that.
I have a database running in local machine which i can access it using 127.0.0.1 or localhost, I need to access this database from my spring boot application which is deployed in local minikube kubernetes cluster.
how can i do that.
Use the external IP of your machine (f.e. wifi or ethernet) and connect to that. Be aware that you need to expose your database externally in that case.