Unable to connect to MySQL database on AWS RDS

I am unable to connect to my database. Tried the following methods: 1. Used mysql2 package Got error saying connection.connect() does not exist. I think workers doesn't support this package. 2. Used cloudflare-mysql package https://www.npmjs.com/package/cloudflare-mysql Got error recieved packets in wrong sequence 3. Used cloudflare docs It lead to https://github.com/cloudflare/worker-template-mysql. Followed it and got error FinalizationRegistry does not exist.
npm
cloudflare-mysql
A Cloudflare Workers compatible MySQL package based on the MySQL Node package.. Latest version: 0.9.4, last published: 7 months ago. Start using cloudflare-mysql in your project by running npm i cloudflare-mysql. There are no other projects in the npm registry using cloudflare-mysql.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server