All Projects → planetscale → cli

planetscale / cli

Licence: Apache-2.0 license
The CLI for PlanetScale Database

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to cli

Node Mysql2
⚡ fast mysqljs/mysql compatible mysql driver for node.js
Stars: ✭ 2,768 (+500.43%)
Mutual labels:  mysql-client
Pspg
Unix pager (with very rich functionality) designed for work with tables. Designed for PostgreSQL, but MySQL is supported too. Works well with pgcli too. Can be used as CSV or TSV viewer too. It supports searching, selecting rows, columns, or block and export selected area to clipboard.
Stars: ✭ 1,749 (+279.39%)
Mutual labels:  mysql-client
Falcon
Free, open-source SQL client for Windows and Mac 🦅
Stars: ✭ 4,848 (+951.63%)
Mutual labels:  mysql-client
pinesql
Electron-based SQL editor
Stars: ✭ 19 (-95.88%)
Mutual labels:  mysql-client
MySQL Module
MySQL connector to Godot Engine.
Stars: ✭ 30 (-93.49%)
Mutual labels:  mysql-client
mysqlclient
the mysqlclient Docker image (based on python:3.8.5-alpine3.12) https://github.com/PyMySQL/mysqlclient-python
Stars: ✭ 20 (-95.66%)
Mutual labels:  mysql-client
platforms
A template for site builders and low-code tools.
Stars: ✭ 1,156 (+150.76%)
Mutual labels:  planetscale
pscale-workflow-helper-scripts
Workflows and helper scripts around the PlanetScale DB workflow to automate database branch creation, association, update and merge directly out of your pull/merge request or favourite CI/CD.
Stars: ✭ 42 (-90.89%)
Mutual labels:  planetscale
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (-88.94%)
Mutual labels:  planetscale
docs
PlanetScale documentation
Stars: ✭ 56 (-87.85%)
Mutual labels:  planetscale
nikolovlazar.com
My personal site's repo built using Next.js, Chakra UI, MDX, Prisma, PlanetScale.
Stars: ✭ 126 (-72.67%)
Mutual labels:  planetscale
jahir.dev
My personal website 💎 – Built using Next.js, TypeScript, MDX, contentlayer, Notion and Stitches styled components
Stars: ✭ 119 (-74.19%)
Mutual labels:  planetscale

PlanetScale CLI Build status

PlanetScale is more than a database and our CLI is more than a jumble of commands. The pscale command line tool brings branches, deploy requests, and other PlanetScale concepts to your fingertips.

PlanetScale CLI

Installation

macOS

pscale is available via a Homebrew Tap, and as downloadable binary from the releases page:

brew install planetscale/tap/pscale

Optional: pscale requires the MySQL Client for certain commands. You can install it by running:

brew install mysql-client

To upgrade to the latest version:

brew upgrade pscale

Linux

pscale is available as downloadable binaries from the releases page. Download the .deb or .rpm from the releases page and install with sudo dpkg -i and sudo rpm -i respectively.

Windows

pscale is available via scoop, and as a downloadable binary from the releases page:

scoop bucket add pscale https://github.com/planetscale/scoop-bucket.git
scoop install pscale mysql

To upgrade to the latest version:

scoop update pscale

Manually

Download the pre-compiled binaries from the releases page and copy to the desired location.

Alternatively, you can install bin which works on all macOS, Windows, and Linux platforms:

bin install https://github.com/planetscale/cli

To upgrade to the latest version

bin upgrade pscale

Container images

We provide ready to use Docker container images. To pull the latest image:

docker pull planetscale/pscale:latest

To pull a specific version:

docker pull planetscale/pscale:v0.63.0

If you like to have a shell alias that runs the latest version of pscale from docker whenever you type pscale:

mkdir -p $HOME/.config/planetscale
alias pscale="docker run -e HOME=/tmp -v $HOME/.config/planetscale:/tmp/.config/planetscale --user $(id -u):$(id -g) --rm -it -p 3306:3306/tcp planetscale/pscale:latest"

If you need a more advanced example that works with service tokens and differentiates between commands that need a pseudo terminal or non-interactive mode, have a look at this shell function.

Documentation

Please checkout our Documentation page: planetscale.com/docs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].