Getting started

Open the demo, connect to your first database, and learn the five shortcuts that run the app.

Row Patrol open on the demo database: the Explorer, a SQL scratchpad, and a results grid

Row Patrol is a fast desktop SQL client for SQLite, PostgreSQL, MySQL and MariaDB, with SQL Server and Turso in preview. It is made for people who work on real databases, including staging and production, so every connection opens read-only and every write shows its impact before it commits.

Look around without connecting anything

Open a terminal in the folder you downloaded and run:

./rowpatrol -demo

The demo opens a small sample shop database (customers, products, orders and a recent_orders view) with two example snippets, so you can try the editor, the grid, the command palette and everything else before pointing Row Patrol at a real database. Nothing is saved: no connections, no history, no logs, and anything you write disappears when you quit.

To open a SQLite file you already have, pass its path instead. It opens read-only:

./rowpatrol /path/to/your.sqlite

Connect to your database

Press Ctrl+O to open the connection manager, choose your engine, and fill in the host, port, user and password.

  • Label the connection Development, Staging or Production. That label colours the window and decides how much extra care writing asks for.
  • There is no Save button. Open read-only saves the connection when its details are valid, then connects to it.
  • Passwords are asked for each time by default. Tick Remember to keep one in your operating system's keychain instead of a plain file.
  • New connections use verified TLS by default, so the server's certificate is checked.
  • On AWS, From AWS... finds your RDS and Aurora databases and fills the whole form in for you.

Find your way around

The command palette listing commands and shortcuts with fuzzy matches

The window has the Explorer on the left, the SQL editor above the results grid in the middle, and the Inspector and AI agent panels on the right, which stay closed until you open them.

These five shortcuts run most of the app:

  • Ctrl+P — the command palette: search every action, table and snippet by name.
  • Ctrl+T — jump straight to a table or view.
  • F1 — a searchable list of every keyboard shortcut.
  • Ctrl+Enter — run the statement under the cursor.
  • Ctrl+O — connections; Alt+1…9 switches between the databases you have open.

Write something, safely

Every connection starts in Read-only mode. Click the Read-only button in the toolbar to switch to Writing. On development and staging that is one click; on production you have to type the connection's name first.

Even in Writing mode, every change opens a confirmation with the exact SQL that will run, and for updates and deletes a Matches N of M rows count that is measured before anything is committed. Switching back to read-only, reconnecting or restarting always starts read-only again.

Where to go next