Getting Started

Connect to your first database, open a table and run a query in a couple of minutes.

Create a connection

When Mantidb starts, it opens the welcome window with your saved connections. You can open it again at any time with ⌘N (File ▸ Connections…).

  1. Click Create Connection (or + ▸ New Connection…).
  2. Pick a Driver — PostgreSQL, MySQL / MariaDB, SQLite, SQL Server, Redis or MongoDB.
  3. Fill in Host, Port, User, Password and Database. For SQLite, choose the database file instead.
  4. Choose a Tag, such as Development or Production. The tag sets the connection's color and its default safe mode.
  5. Click Connect, or Save to keep it for later.

Already have a connection string? Copy it and press ⌘V in the welcome window — Mantidb understands postgres://, mysql://, sqlserver://, redis://, mongodb:// and sqlite:// URLs. See Connections.

Open a table

Each connection opens in its own workspace window. Your tables, views and functions are listed in the sidebar on the left.

  • Click a table to open it in a preview tab.
  • Double-click it to keep the tab open.
  • Press ⌘K to jump to any table by typing part of its name.
public /orders
Search or run a command⌘K
SQL
status=paid✕created_at>2026-01-01✕+ Filter
1–300 of ~284,112 rows · 18 ms‹›
id
customer
total
currency
status
created_at
20480
Lucía Herrera
12.00
USD
paid
2026-10-21 09:00
20483
Noah Fischer
91.19
MXN
paid
2026-10-21 10:13
20486
Aiko Tanaka
170.38
EUR
pending
2026-10-20 11:26
20489
Mateo Rossi
249.57
USD
paid
2026-10-20 12:39
20492
Emma Laurent
328.76
USD
failed
2026-10-19 13:52
20495
Diego Ramírez
407.95
MXN
paid
2026-10-19 14:05
20498
Sofia Lindqvist
487.14
EUR
paid
2026-10-18 15:18
20501
Liam O'Connor
566.33
USD
paid
2026-10-18 16:31
20504
Valentina Cruz
645.52
USD
paid
2026-10-17 17:44
20507
Kenji Mori
724.71
MXN
pending
2026-10-17 09:57
20510
Olivia Brooks
803.90
EUR
paid
2026-10-16 10:10
20513
Hugo Martin
883.09
USD
failed
2026-10-16 11:23
20516
Camila Torres
62.28
USD
paid
2026-10-15 12:36
20519
Jonas Weber
141.47
MXN
paid
2026-10-15 13:49
DataStructureIndexes
↓ 2.4 KB/s ↑ 312 B/s+ RowCommit ⌘S
A table open in the workspace

The grid shows one page of rows (300 by default). Use the filter bar above the grid to narrow them down, and the Data, Structure and Indexes buttons at the bottom to switch views.

Edit data

Double-click a cell — or select it and press Return — to edit it. Edited cells turn amber until you save them.

  • ⌘I adds a row.
  • Delete marks the selected rows for deletion.
  • ⌘S commits every pending change in a single transaction.

Nothing is written to the database until you commit. Click Preview in the bottom bar to see the exact SQL first.

Run a query

Press ⌘T (or click SQL in the top bar) to open a query tab, type your SQL and press:

  • ⌘↩ to run the statement under the cursor (or the selection).
  • ⇧⌘↩ to run the whole script.

Every query you run is saved in the History tab of the sidebar, and you can keep the ones you reuse with ⌘D (Save as Favorite…).

Next steps