Connection failure

Hey gus im new here , i have create a springbootapp with mysql everything work when applying docker-compose up but when I switched to minikube after creating configmap , secret and services inherent to ly app and mysql , app doesn’t reach the mysql pod it gives communication link unknown host mysqldb , mysql is a service associated to my db I think that my app disable to reach the db.
Im running the minikube on top of centos
Any help