Neki, sharded Postgres, is now available. Get started
Navigation

Create and resize external Vitess keyspaces

You can now attach an existing MySQL database as an external keyspace on a Vitess production branch. PlanetScale runs an external tablet against that source so you can query it through Vitess without importing the data first.

External keyspaces can be created from the Clusters page on production branches and through the CLI using the command below:

pscale keyspace create-external mydb main commerce \
  --host db.example.com \
  --source-database commerce \
  --username import \
  --password secret \
  --ssl-mode required \
  --wait

CLI keyspace docs · Cluster configuration