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:

Invalid prisma.user.findUnique() invocation: Can't reach database server at Please 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 👋

Stay up to date

Don't miss my next essay — get it delivered straight to your inbox.

Related Content