-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
TemplateTemplate issueTemplate issue
Description
PlanetScale is a MySql compliant environment. The CLI is called pscale and has a dependency to the mysql CLI.
Much the same way GitHubs CLI gh has a dependency to the git cli.
Actually you'll find that pscale is built much on the same concept as gh - nice!
Now we need to setup the environment for use:
We're here on PlanetScale environment set up in the documentation.
Install using package manager
MacOs
Assuming MySql client is already installed (more details):
brew install planetscale/tap/pscale
Windows
Assuming MySql client is already installed (more details):
scoop bucket add pscale https://github.com/planetscale/scoop-bucket.git
scoop install pscale mysqlCodespace (Ubuntu)
Assuming your are on a default Codespace on GitHub (Ubuntu) - without MySql Client installed more details
sudo apt-get update && sudo apt-get install -y mysql-client
curl -LO https://github.com/planetscale/cli/releases/download/v0.131.0/pscale_0.131.0_linux_amd64.deb
sudo dpkg -i pscale_0.131.0_linux_amd64.deb
rm pscale_0.131.0_linux_amd64.deb
To test if it works simply run
pscaleMetadata
Metadata
Assignees
Labels
TemplateTemplate issueTemplate issue