Skip to content
Keepware Subscribe

Get started with QuerentDB on Mac, Windows and Ubuntu

Install QuerentDB on a Mac, Windows 10/11 or Ubuntu 22.04+, create an environment, connect to a MySQL database with a read-only and a read-write account, and run your first query.

Part 2 of 13· Nov 11, 2026·7 min read

Video · 2:27 · narrated, with captions
Transcript

First launch. This is QuerentDB the very first time you open it. It offers to set up the qdb command for your terminal. You can do that any time later, in Settings under MCP & CLI. So for now, just choose Not now.

Create an environment. Your connections live in environments, like dev, test or prod. Choose New environment and call it dev. For production you'd turn on Protected, so every write asks you to type the environment's name first. We don't need that for dev, so leave it off and choose Create.

Add a MySQL connection. Next, add a connection by choosing New connection under dev. MySQL is already selected, so name the connection acme-mysql. Enter the host, 127.0.0.1, and the port, 23395. The default database is acme_store.

Read and write accounts. Every connection can have two accounts. The read-only account is the one you use every day to browse and query. The read-write account is only used when you run something that changes data, so a slip in a query can't do any harm. Here, reader is the read-only account and root is the read-write one.

Test and save. Now choose Test. MySQL 8 makes its own certificate, so the first time you connect, QuerentDB shows you its fingerprint. If this is your server, choose Trust this certificate. And you're connected. QuerentDB remembers the certificate and warns you if it ever changes, and the write account connects too. Now choose Save.

Open the connection and browse tables. Click acme-mysql to open it in a tab. Its tables are listed on the left, each with an estimated row count. Pick orders, then Data, to see its rows. Columns, Indexes and Definition show you how the table is built. And customers works exactly the same way.

Run your first query. To write your own SQL, open a new tab with the plus button. Type a query. This one counts the orders and the revenue for each status. Choose Run, or press Ctrl+Enter. And the results show up right below the editor.

What's next. That's it. You're connected, and you've run your first query. On the right is the AI Editor, and on the left is the Agent. Once you pick a model, they'll write and explain SQL for you. That's covered in the next guide, and after that, how to share connections with your team.

To get started with QuerentDB, a desktop database client by Keepware, download the Mac app, the Windows installer or the Ubuntu .deb package from keepware.dev/querentdb and install it, then create an environment, add a connection with its host, port and accounts, choose Test and Save, and click the connection to browse its tables and run queries. This guide walks through each step on macOS, Windows 10/11 and Ubuntu 22.04 or later, with a MySQL database; PostgreSQL, MongoDB, Redis and Elasticsearch connections use the same form with a different Type.

What do I need before I start?

  • macOS 12 or later (Apple silicon or Intel), Windows 10 or 11 (64-bit), or Ubuntu 22.04 or later (64-bit, amd64).
  • A database your computer can reach, and its host, port, user names and passwords. This guide uses a MySQL 8 server at 127.0.0.1, port 23395, with a demo database called acme_store (a made-up online store).

How do I install QuerentDB on a Mac?

  1. Go to keepware.dev/querentdb and download the Mac app, QuerentDB-‹version›-macos.dmg. It’s one app for Apple silicon and Intel Macs.
  2. Open the downloaded file and drag QuerentDB into Applications.
  3. Open QuerentDB from Applications. The app isn’t notarized by Apple yet, so the first time macOS says it can’t verify it. Choose Done, open System Settings → Privacy & Security, and choose Open Anyway next to the message about QuerentDB. On macOS 12–14, right-click QuerentDB in Applications and choose Open instead. macOS remembers your choice.

How do I install QuerentDB on Windows?

  1. Go to keepware.dev/querentdb and download the Windows installer, QuerentDB-‹version›-win-x64-setup.exe.
  2. Open the downloaded file. The installer isn’t code-signed yet, so Microsoft Defender SmartScreen shows Windows protected your PC. Choose More info, check that the app is the QuerentDB installer you downloaded (QuerentDB-…-win-x64-setup.exe), then choose Run anyway.
  3. Follow the installer’s steps, then open QuerentDB from the Start menu.

How do I install QuerentDB on Ubuntu?

  1. Go to keepware.dev/querentdb and download the Ubuntu package, QuerentDB-‹version›-linux-amd64.deb.

  2. Open a terminal in the folder you saved it to and install it with apt:

    cd ~/Downloads
    sudo apt install ./QuerentDB-*-linux-amd64.deb

    The ./ matters: it tells apt to install this file, together with anything it depends on, instead of looking for a package by that name.

  3. Open QuerentDB from the app grid, or run querentdb in a terminal.

What happens the first time I open QuerentDB?

QuerentDB asks Set up the qdb command? qdb is QuerentDB’s command-line tool: query your databases from any terminal or script, with the same permissions you have in QuerentDB. On Windows the dialog offers to Put qdb on the PATH (your own PATH, so no admin rights are needed) and to Sign qdb in for the terminal (a CLI token in %APPDATA%\QuerentDB that you can revoke any time). What it lists depends on what’s already set up on your computer.

The first-launch dialog: Set up the qdb command?

To go straight to your database, choose Not now. Everything in this dialog is also in Settings → MCP & CLI, whenever you want it.

How do I create an environment in QuerentDB?

Connections live in environments, such as dev, test and prod. An environment decides how careful QuerentDB is with the connections in it.

  1. Choose New environment (or the + next to Environments in the sidebar).
  2. Enter a Name, for example dev. Names can use letters, digits and _ . -, up to 32 characters.
  3. Leave Protected off for a development database. For production, turn it on: writes then need the environment name typed to confirm, every write through MCP needs approval, and the environment is shown in red with a lock.
  4. Choose Create.

The New environment sheet with the name dev, and the Protected switch

The same sheet has Require TLS (refuse any connection in this environment that doesn’t use TLS) and AI policy: Schema + data (the default), Schema only, or Off, for what the built-in Agent and MCP may see.

How do I connect QuerentDB to a MySQL database?

  1. In the sidebar, under your environment, choose New connection.
  2. Type: MySQL is selected already.
  3. Name: acme-mysql, or any name you’ll recognize.
  4. Host: 127.0.0.1, and the port next to it: 23395. (The port starts at MySQL’s usual 3306.)
  5. Default database: acme_store. It’s optional; you can switch databases after connecting.
  6. Accounts: a read-only account and a read-write account (see the next section). Here, reader and root.
  7. TLS: leave it on Prefer, which encrypts whenever the server supports it.

The New connection sheet filled in for acme-mysql

If the database is only reachable through a bastion host, pick or create an SSH tunnel in the SSH tunnel field.

Why does QuerentDB ask for a read-only and a read-write account?

Each connection can have two accounts, so you work with the least privilege you need:

  • Read-only account (recommended): the everyday account. Browsing tables and running queries use it. Members of your team with read-only access only ever get this account, so the database itself refuses their writes.
  • Read-write account: only used when you run a statement that changes data. A slip in an everyday query can’t change anything, because it never runs with write rights.

Give each one a database user with matching privileges, for example a reader user with only SELECT rights, and an owner or admin user for writes. If you only have one account, put it in Read-write account; QuerentDB then keeps read-only members read-only itself and suggests adding a read-only account.

Why does QuerentDB ask me to trust a certificate?

Choose Test at the bottom of the sheet. With TLS on Prefer, QuerentDB encrypts the connection, and if the server’s certificate isn’t signed by a known certificate authority, as with the certificate MySQL 8 generates for itself, it shows the certificate’s subject and SHA-256 fingerprint the first time, under TLS: The server’s certificate isn’t verified by a CA (first connection). The certificate belongs to the server, not to an account, so the account card just points you there.

The certificate check after choosing Test, with Trust this certificate

If this is your server (ask your database admin to confirm the fingerprint if you’re unsure), choose Trust this certificate. QuerentDB pins it: you’re connected, and you’re warned only if the certificate ever changes. Each account card has its own Test button, so you can check the read-write account too.

Both accounts connected: MySQL 8.4.13, TLS, pinned certificate

Then choose Save. The connection appears under the environment in the sidebar.

How do I browse tables in QuerentDB?

Click the connection in the sidebar to open it in a tab. The tables are listed on the left with their row counts. Pick one, for example orders, and choose Data to see its rows.

The orders table, Data view

Columns, Indexes and Definition show how the table is built; Routines and Triggers list stored procedures, functions and triggers. Pick another table, such as customers, and the view stays on Data:

The customers table, Data view

How do I run my first SQL query?

  1. Open a new tab with the + next to your tabs (Ctrl+T).

  2. Type your query in the editor, for example:

    SELECT status, COUNT(*) AS orders, SUM(total) AS revenue FROM orders GROUP BY status;
  3. Choose Run, or press Ctrl+Enter. With a selection, only the selected part runs.

The results appear below the editor, with the row count and the time the query took.

Query results: orders and revenue by status

The Auto LIMIT 500 badge means QuerentDB added a LIMIT to a SELECT that didn’t have one, so a slip never reads a whole table. You can change the limit in Settings → General → Queries.

  • The Agent and the AI Editor. The AI Editor, on the right of every tab, and the Agent, on the left, write and explain SQL for you once you pick a model in Settings → Models. That’s the next guide.
  • Teams. Share environments and connections with your team, with read-only or read-write access per environment.

FAQ

Is QuerentDB free?

QuerentDB is free for personal use. Teams are paid per seat; see keepware.dev/querentdb.

Which databases does QuerentDB support?

MySQL, PostgreSQL, MongoDB, Redis and Elasticsearch, all in one window. You add each one the same way: New connection, then pick its Type.

Why does macOS say it can’t verify QuerentDB?

The Mac app isn’t notarized by Apple yet. Open System Settings → Privacy & Security and choose Open Anyway next to the message about QuerentDB (on macOS 12–14, right-click the app in Applications and choose Open). You only do this once.

Why does Windows say “Windows protected your PC”?

The installer isn’t code-signed yet, so SmartScreen doesn’t recognize it. Choose More info, check that the app is the QuerentDB installer you downloaded (QuerentDB-…-win-x64-setup.exe), then choose Run anyway.

Where does QuerentDB keep my passwords?

On your computer, encrypted. In a personal workspace the connection settings stay on this computer only, and the encryption key is kept in the system’s credential store (the macOS Keychain, Windows Credential Manager, or the Secret Service keyring on Ubuntu).

Can I set up the qdb command later?

Yes. Everything the first-launch dialog offers is in Settings → MCP & CLI.