spring boot app cannot connect mysql database between kubernetes pods/services in minikube
I got a web server in spring boot tries to connect to mysql database, both of which is running in minikube local machine. The application and database configuration should be alright, because it is working in local machine with localhost url.
spring boot app cannot connect mysql database between kubernetes pods/services in minikube
I got a web server in spring boot tries to connect to mysql database, both of which is running in minikube local machine. The application and database configuration should be alright, because it is working in local machine with localhost url.
cannot connect to my mysql service in kubernetes pods
I have created a spring boot crud app and then created deployment and service files for my crud backend application and for a mysql.
The issue i am facing whenever i create these two services my backend application is not able to establish any connection with the db.
Whenever, i establish a connection locally through port forwarding for my mysql pod and then my backend application gets the connection and i can retrieve the data.