Benjamin VR
CDCloudflare Developers
•Created by Benjamin VR on 5/27/2024 in #workers-help
Run worker locally (with Wrangler) with MySQL Docker image
Our current setup is:
- Production using PlanetScale database with Prisma and the @prisma/adapter-planetscale adapter
- Development using a simple MySQL docker image
When we want to run our Worker(s) locally, it gives errors, because plain Prisma with MySQL is not supported on the (local) Cloudflare Workers runtime:
What is the recommended workflow when we want to run the workers locally with a plain Docker MySQL instance?
1 replies