How to connect to MySQL database externally

Hi,
I’ve set up a MySQL db from this repo GitHub - render-examples/mysql: MySQL 8.0 and 5.7 on Render as a web service. As far as I can tell, I’ve set it up as a “public” web service, but I don’t see a way to connect to the database anywhere.

I’m probably missing something obvious, but where can I get my connection string?

Thanks!

Hi,

MySQL instances are only deployable to Render Private Services.

These are not directly accessible from the public internet and are intended to be accessed from other Render services in the same account and region.

However, if your MySQL client has a “via SSH” option, you could SSH to the instance, then log into MySQL. (SSH docs)

Alan

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