Skip to content
Early access

Search the docs

Find a page or a section by keyword.

Database tools

PostgreSQL, MySQL and MariaDB instances carry three extra tabs: a Table editor, a SQL editor, and Database users. They're for the moments when installing a client, opening a tunnel, or finding the password isn't worth it — checking a row, running a migration, handing a colleague their own account.

They work on a running instance and are available on the instance's own page, next to Metrics and Backups.

How queries actually run

The dashboard never opens a database connection from your browser, and it doesn't need the instance to be public. You submit a statement, the platform queues it, runs it inside your instance's container, and brings the rows back.

Three things follow from that, all deliberate:

  • A private instance is fully usable from the dashboard. Nothing has to be exposed to the internet for you to look at your own data.
  • Queries are bounded by a statement timeout, so a runaway one can't pin the instance, and a result by 5,000 rows and 256 KB: a larger one fails with a message to select fewer rows or columns.
  • When a statement fails, you get the engine's own error — the syntax error, the constraint name — not a platform error code standing in front of it.

Running queries is its own permission, instance:query, separate from reading an instance's metadata — and it covers every statement, a SELECT included, because a statement runs with the engine's full privileges. Owners, admins and developers hold it; a viewer sees none of the three tabs' contents. See Workspaces & roles.

Table editor

Tables lists the tables in the instance's database and browses the rows of whichever you pick, with a search box for finding one in a long list. It's the fastest way to answer "did that write land?".

SQL editor

SQL editor runs a statement against the instance. Press Ctrl/Cmd + Enter to run, and results come back as a table or as raw JSON, with the row count and elapsed time. Format tidies the statement, history keeps the queries you've run this session, and results export to CSV or JSON.

It's a full SQL channel, not a read-only viewer — CREATE TABLE, ALTER, INSERT and friends all work. So does DROP. There's no undo.

Database users

Every instance comes up with one primary user — the one in the connection string. Database users adds more, so an application, a teammate, or a script gets its own credential you can drop later without rotating everything.

A new account is created with its own password, shown once: it stays on screen, with a copy button, until you choose Done. If it's lost, delete the account and make another. New accounts are granted access to the instance's own database — not to everything on the server — and the list flags the primary user, superusers, and accounts that can't log in, so it's clear what each one is.

The engines model accounts differently and the panel follows the engine rather than papering over it: a PostgreSQL account is a role, and a MySQL or MariaDB account is a user bound to a host. Deleting one drops it on the engine, immediately and permanently.

When someone else reads your rows

Rows can also reach someone other than you: PromptOps and an MCP client send them to an AI provider, and our support team sees them when it works in your account in a support session. Those reads behave differently from yours:

  • Recorded before they're shown. Each read goes on our audit trail first: who read the rows (the person who approved PromptOps' request; for an MCP client, the app and the person who connected it, or the workspace token and the person who created it; or the staff member in a support session), the workspace, the instance, a fingerprint of the statement without its values, and how many rows came back and their size. A read that returned no rows is recorded too. If the read can't be recorded, the rows aren't shown, though the statement has run. These records are kept for 13 months.
  • Secrets and card numbers masked. Every value is checked on its own. A card number becomes [card number], and a value shaped like a credential, such as a password in a connection URL, a bearer token, an access key or a private key, becomes [redacted]. So does every value of a column whose name says it holds a secret, such as password, password_hash, token, secret, api_key, card_number or cvv, inside JSON values too.
  • Errors without their values. When a statement fails, the reader gets the error's code and message with every quoted value replaced, the table, column and type names kept, and where in the statement it failed. What else the engine said, such as the failing row or a hint, is withheld.
  • Capped. At most 5,000 rows and 1 MB, whole rows only, and 16 KB a value: a longer value is cut short, and the answer says when rows were left out. Each reader may run 30 such queries a minute, and a workspace 60, before they're refused for a moment.
  • No password for support. In a support session the instance's password stays hidden: our team reads your data through these recorded tools, not with your password.
  • No dumps for support. A support session can't download an export of your database: a dump can't be masked.

Your own reads, in the dashboard and through the REST API with your own token, come back whole and aren't recorded one by one.

Masking is a safety net, not a guarantee:

  • Only what looks like a secret is masked. Names, email addresses, phone numbers and other personal data come back as they are, so share only the rows and columns you mean to.
  • A secret with no telltale shape, in a column whose name doesn't say so, such as a short code in a value column, comes back as it is.
  • A card number written with non-Western digits, or kept as a number with more than 16 digits, can slip through.
  • Masking changes what's shown, never what's stored: a statement that writes still writes the values it was given.

Next steps

  • Connecting — connecting from your laptop, CI, or app instead
  • Backups — take a dump before you run the migration
  • Instances — lifecycle, sizes, and metrics
PreviousConnecting