Skip to main content

Getting Started

Make sure to first set up your PlanetScale developer environment. Once you’ve installed the pscale CLI, you can interact with PlanetScale and manage your databases straight from the command line.

The workflow command

pscale workflow is deprecated. To move tables between keyspaces, use pscale branch vtctl move-tables. To import an external MySQL database, create an external keyspace and move its tables with MoveTables.pscale workflow only lists workflows it created. Workflows created with pscale branch vtctl move-tables do not appear in pscale workflow list.
This command manages workflows that were created with pscale workflow create or the earlier dashboard workflow pages: listing them, switching traffic, and cutting over. This command is not supported for Postgres databases. Usage:

Available sub-commands

Sub-command flag descriptions

Some of the sub-commands have additional flags unique to the sub-command. This section covers what each of those does. See the above table for which context.

Available flags

Global flags

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.