Unable to connect to MYSQL db

Hi,

I’m very new to render, I was trying to deploy a MySQL container from an existing image from docker hub, and a spring boot service container, but the service container is unable to connect to the MySQL data base even after specifying all the environment variables. Not sure what is the problem

Hi there,

First, please ensure you are not trying to deploy a frontend and a backend to the same service. See our FAQ for more details: https://docs.render.com/faq#can-i-deploy-multiple-apps-to-a-single-render-service

Second, since MySQL is not a service managed by Render it will be entirely up to you to manage it. We do have a guide on how you might go about getting started: https://docs.render.com/deploy-mysql. Note that this guide will spin up paid services and a persistent disk for MySQL to run on.

Let us know if you have any further questions.

Regards,
Mike


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.