sqlmux

tmux-style terminal database client with Vim keybindings

Image 1 of 1: Nine sqlmux features in terminal panes, from WHERE completion to the same table in two panes

PostgreSQL, MySQL, SQLite, SQL Server and Redis side by side in one session, with split panes, table tabs and in-place editing. A vim editor for SQL is diff-tested against nvim, and each save previews its exact statements and runs as one transaction.

Trade-offs

  • Each saved UPDATE carries the old values of the changed cells. A row changed since loading rolls the save back, at the cost of retrying it.
  • Safety checks read the SQL text. They are guards against mistakes, not a permission boundary: a write hidden in a function is not caught.

Q&A4

Twice on PostgreSQL and MySQL: sqlmux refuses a run that writes, and the server session is read-only too. SQL Server and Redis have no such switch, so there it is sqlmux's check alone.

Reviews

Loading reviews

    More in SQL

    See all 11 →
    • cerberusPrometheus, Loki and Tempo HTTP gateway for ClickHouse
    • musqlSQLite-compatible SQL engine on columnar storage and a JIT
    • dbxliteBrowser SQL workbench on DuckDB for local files, BigQuery and Snowflake
    • DataZenDesktop database workspace for developers and AI agents
    • SlothDBExperimental embedded SQL engine in C++20, from scratch
    • SQL CrackVS Code extension that draws SQL query flow, dependencies and column lineage

    More in Terminal UI

    See all 39 →
    • notmuttAsync terminal mail client built on notmuch, with undoable tag operations
    • MastuiMulti-column Mastodon client for the terminal
    • NerdlogMulti-host TUI log viewer with a timeline histogram and no central server
    • Localization Resource ManagerLocalization files from one binary, as a CLI, terminal UI, web UI or in VS Code
    • kernwatchTerminal dashboard for Linux kernel observability
    • KatesPerformance, chaos and security testing for Kafka on Kubernetes

    More in Database internals

    See all 29 →
    • PaganelData migration engine that verifies the destination down to the row
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • SNKVEmbedded key-value store built directly on SQLite's B-tree
    • RuvioRust key-value server that speaks RESP, with locks and queues as commands
    • EgresPostgres-compatible database in Zig for heavy, multi-tenant workloads
    • MongrelDBEmbedded Rust database with vector, sparse and text indexes