I don't know how to connect to MySQL from Workers.

I am currently trying to connect to a MySQL database on Amazon RDS from Cloudflare Workers to execute a query statement, but I can't figure out how to do it successfully.
Is there anyone who has a similar problem to mine or can give me an example of code that actually works? Best regards.
(I am developing with wrangler)
Was this page helpful?