Has anyone been able to connect to a managed mySql instance from a Cloudflare worker?

I’m testing the possibility to connect to a Digital Ocean managed mySql instance from a Cloudflare Worker. Cloudflare provides a mySql driver for Workers, but reading the docs I understood that in order for it to work, you need to setup a Cloudflare tunnel, and that the server running mySql needs to run cloudflared in order to securely access the tunnel. Did I understand correclty? Has anyone faced this problem before, and how did you solve it?


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer