Getting started with the PlanetScale CLI

This post introduces the PlanetScale CLI, detailing its installation and usage for common database operations. It covers connecting to PlanetScale via `pscale login`, listing databases with `pscale database list`, creating databases with `pscale database create`, and entering a MySQL shell with `pscale shell`. It also demonstrates managing branches, including listing (`pscale branch list`), promoting (`pscale branch promote`), and creating (`pscale branch create`) branches. The post walks through creating a deploy request (`pscale deploy-request create`), listing deploy requests (`pscale deploy-request list`), and merging a deploy request (`pscale deploy-request deploy`), effectively showcasing the CLI's capabilities for managing schema changes and database workflows.