Skip to content

Marketplace

PlanetScale

PlanetScale

Storage

The database for developers

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.

Instructions

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

Details

Installs

more than 1000

Developer

PlanetScale, Inc.

Documentation

Read