3 Databases
zbuddy edited this page 2026-11-13 23:52:56 -05:00

Databases (MySQL, MariaDB and PostgreSQL)

Jumpdeck 4.3 and later; PostgreSQL from 4.4. Work with MySQL, MariaDB and PostgreSQL databases in a tab that looks and works like MySQL Workbench's SQL editor: the navigator on the left, the SQL editor, the results, and the output log of every statement.

Add a connection

  1. Click Databases in the sidebar (on a phone: More → Databases).
  2. Click NEW DATABASE, choose MySQL/MariaDB or PostgreSQL, and fill in:
    • Host and Port (empty = 3306 for MySQL, 5432 for PostgreSQL), Username, and for PostgreSQL the Database to open.
    • The password: pick one from your Keychain, an identity, or type a new one in Or save a new password — it is stored encrypted in your Keychain. Leave it empty to be asked each time.
    • TLS: keep Pinned (encrypted; the server's certificate is remembered the first time and a change is refused). Choose Off only on a trusted network.
    • Optional: a Default schema, Read only, and a Jump host if the database is only reachable from an internal network.
  3. Click Save & connect.

Your connections follow your account (4.6): one you add in the browser is also in the desktop app signed in to the same server, and the other way round. In the app you can add or change them without a connection to the server; they go over when it answers.

Run SQL

  • Type or paste SQL in the editor. Ctrl+Enter (⌘+Enter on a Mac) runs everything — or only the selected text. Ctrl+Shift+Enter runs the statement under the cursor.
  • Stop (the square) cancels a long-running statement.
  • The row-limit list (default Limit to 1000 rows) and Continue on error sit in the toolbar.
  • The Output at the bottom has one line per statement: ✓ or ✗, the time, the statement, the server's message (for example 3 row(s) returned or Error Code: 1064. …) and how long it took.
  • Each statement that returns rows gets a result tab. Right-click a cell to copy the value, the row or all rows; Export CSV saves the result.

Import .sql files

  • Open (the folder icon) or drag a .sql file onto the editor to open it in a new query tab, then run it.
  • For dumps and other large files use Run file (the upload icon): the file runs statement by statement straight from your computer, with progress, without opening it in the editor. Up to 1 GiB by default. DELIMITER works as in the mysql command line.
  • PostgreSQL: plain pg_dump files import with Run file, including their table data (COPY … FROM stdin). Other psql commands such as \connect are not run.

Browse

The navigator shows the server's status, client connections and settings, and under SCHEMAS (MySQL) or DATABASES (PostgreSQL) every schema with its tables, views, procedures and functions — for PostgreSQL also materialized views and sequences. A PostgreSQL tab works in one database: double-click another database to open it in a new tab. Open a table to see its columns and indexes. Double-click a schema to make it the default; double-click a table to see its rows; right-click for Show create statement.

Good to know

  • A database tab ends when you close it, reload the page, sign out, or leave it unused for 30 minutes. Click Reconnect to open it again.
  • Read only protects against mistakes; to really prevent changes use a database account that can only read.
  • The server never gives the page your database password, and a database server can never read files from your computer (LOAD DATA LOCAL is refused).
  • MariaDB accounts using ed25519 sign-in are not supported yet. PostgreSQL accounts need a password (SCRAM or MD5); Kerberos and certificate sign-in are not supported.
  • PostgreSQL: after an error inside a transaction the tab shows transaction failed — ROLLBACK; run ROLLBACK; to continue.

More detail: docs/database.md.