
- Databases: MySQL, MariaDB, PostgreSQL, SQLite, Redis and Valkey, directly or through an SSH tunnel.
- Open one.
- Rows with filters, pages and export; a double click changes a cell.
- The SQL editor: one result per statement, saved queries and history.
- SSH in the browser, with the server’s files over SFTP beside the terminal.
- A password manager, shared on purpose: by project, by role, or with one person.
- Backups in any direction, SSH or S3, on as many schedules as you like.
- A connection. New connection: the engine, host and port, user and password (stored
encrypted, never shown again), the database, TLS. Or paste a link as TablePlus writes it, or the
DB_/REDIS_lines of a Laravel.env, and Fill in. - Through SSH. Through an SSH tunnel picks one of the SSH page's connections (or the
one a
+sshlink brings, created when you save); the host is the database's address as that machine sees it, usually127.0.0.1. Test shows a new host's key to accept first. - Share it with a project: for each role, no access, can read or can read and write. Members use your database credentials without ever seeing them; Studio's administrators read and write every project connection.
mariadb+ssh://… fills the database and the SSH host of the tunnel; the SSH host becomes one of your SSH connections when you save.| Link | What it opens |
|---|---|
mysql://user:password@host:3306/db | MySQL (mariadb:// MariaDB), directly |
mariadb+ssh://ssh_user:ssh_pw@ssh_host/user:pw@127.0.0.1/db | MariaDB through an SSH tunnel; the SSH password may be left out to use one of your keys |
postgres://user:pw@host/db?sslmode=require | PostgreSQL (postgresql://, pgsql://), with TLS |
sqlite+ssh://deploy@web1/~/current/database/database.sqlite | a SQLite file on an SSH host, with its own sqlite3 (3.33 or later); //var/… for an absolute path |
redis://:pw@host:6379/0, rediss://, valkey+ssh://… | Redis or Valkey, the database number at the end; rediss with TLS |
Add ?name=Shop&env=production&tls=true to any of them. Passwords with / ? # : in
them are percent-encoded (an @ works either way). A connection's menu copies its link, with the
passwords only for its owner.
- Edit in place
- Double-click a cell, change it, Enter (or NULL). A row's menu edits it whole,
duplicates or deletes it; tick rows to delete many. Rows are found again by their primary key, by
ctidon PostgreSQL androwidon SQLite when there is none.
- Structure
- Columns with type, null, default, key and comment; indexes; foreign keys and checks; the DDL to copy. New tables, columns and indexes, renames, drops and emptying are SQL shown first, to read and change before it runs.
- SQL editor
- Run the selection or everything (Ctrl/⌘+Enter): every statement gets its own result, rows (the first 1,000) or rows changed, with its time; an error says which statement. Your history and your saved queries on the side; a result's rows go to CSV or JSON in full.
- Read only, production
- Someone who may only read runs statements that read, inside a read-only transaction. A production connection opens locked: unlock it for the session to change anything, and every statement that writes asks first.
Import & export#
| Export | Import | |
|---|---|---|
| SQL | the whole database or some tables, structure and/or data, DROP before
CREATE, gzip; with mariadb-dump/mysqldump, pg_dump or
sqlite3 .dump when they are there (else Studio writes it: portable INSERTs) | a
.sql or .sql.gz run with mariadb, psql or the host's
sqlite3 (else statement by statement), stopping at the first error or going on; up to
STUDIO_DB_MAX_IMPORT_MB (512 MB), from your computer or your drive |
| CSV / JSON | tables (a zip of files when there are several) or the rows of a query | rows into a table, columns matched by name, empty values as NULL, the table emptied first if you like |
| Redis | keys as JSON with their type, value and TTL | the same JSON, the keys that exist kept or replaced |
Redis and Valkey#
The keys of a database page by page (SCAN, never KEYS) with a pattern and a type; each key's value by its type
(strings with JSON formatting, hashes, lists, sets, sorted sets, streams) to change in place, its TTL, rename and
delete; a console that speaks like redis-cli (FLUSHDB and the like ask first; MONITOR and SUBSCRIBE
do not run); the server's INFO.
How the tunnels work#
For each SSH connection and credential Studio keeps one OpenSSH master connection open while it is used (fifteen
minutes idle by default), and forwards each database to a Unix socket in a folder only Studio's
user may enter, never to a port of 127.0.0.1 another process of the server (a workspace) could
reach. Only a host whose key was accepted is reached. Whose SSH credential: yours (members reach that
database through it, never a shell) or each person's own. Imports and exports run on a queue of their own,
served by the studio-databases worker; the installer adds mariadb-client,
postgresql-client and sqlite3. Every change made on a shared or production connection is
written to Studio's log with who made it.
Read only means read only. Studio refuses statements that write and runs
the others in a read-only transaction, but a function with side effects can slip through any client: for a
guarantee, share a database user that may only SELECT.






