PlanetScale on a plane ✈️
If you're using Prisma + PlanetScale, the airplane WiFi (or any slow WiFi, really) might cause some issues for you.
You might be seeing an error message like this:
prisma.user.findUnique()invocation: Can't reach database server at
3306Please make sure your database server is running at
Edit your connection string like this, and you should be good to go:
The default Prisma timeouts are around 10 seconds. Changing these two should get you up and running.
Have a safe flight 👋