Skip to content

PlanetScale

Overview

PlanetScale is a MySQL compatible, serverless database platform powered by Vitess. It's a serverless database platform you can start in seconds and scale continuously to meet your needs.

This integration auto-generates connections strings and connects your Vercel projects to your PlanetScale database with zero config needed.

Additional Information

What the integration does

The integration connects to your existing PlanetScale database and sets the necessary environment variables in your Vercel project. These environment variables will differ depending on the language or framework you're using. We include a dropdown in the integration setup that lets you select the framework you're using, and then we'll automatically create the applicable environment variables for you. To get started, you just need a PlanetScale database and a Vercel project.

Environment Variables

General framework
PLANETSCALE_DB 
PLANETSCALE_DB_USERNAME 
PLANETSCALE_DB_PASSWORD 
PLANETSCALE_DB_HOST 
PLANETSCALE_SSL_CERT_PATH
Prisma framework
DATABASE_URL
Node.js framework
DATABASE_URL
Get started with Vercel and PlanetScale.