Open a SQL shell to a branch
connect & shell
// what it does
Opens an interactive SQL prompt against a branch through a secure proxy — mysql for Vitess databases, psql for Postgres — with zero credential handling. It's the fastest path from "I wonder what's in that table" to an answer.
// shell
$ pscale shell mydb main$ pscale shell mydb add-users-table// gotcha
It shells out to your locally installed mysql/psql binary; install it first (brew install mysql-client or libpq). With one branch the branch argument is optional; with several you'll be prompted, so scripts should always pass it explicitly.