Skip to content
ShellTasks

Database pack template

Connection details for PostgreSQL or MySQL, plus the command that opens a shell on it.

Open in playground

Adds #database to the browser demo. No account.

Keys

host
db.example.internal
port
5432
database
app
username
app
password:secret
(encrypted secret, masked)
psql_cmd:command
psql -h db.example.internal -U app app

Example values. Rename, add or remove keys after you create the pack.

In a task

check slow queries on #database.host after the deploy @tomorrow

In the terminal

tsk env database
HOST=db.example.internal
PORT=5432
DATABASE=app
USERNAME=app
PASSWORD='********'
PSQL_CMD='psql -h db.example.internal -U app app'

The real tsk decrypts secrets on your machine and prints them.

All templates

Join the waitlist

Get the desktop app and tsk when the beta opens. One email at launch, no tracking cookies, unsubscribe any time. How we handle your email.

What would you use most? (optional)