Help · Connecting

How saferow checks a connection

The steps a connection goes through, what each one means, and where to see which one failed.

Every connection goes through the same steps, in order, and saferow reports each one as it happens. When one fails, it says which step, in one plain sentence, with the fixes that apply to it. The same steps appear in Add a Database, in Connection Settings (⌘I) and in Diagnose (⌥⌘D).

The steps

StepWhat it checks
SSH settingsWhat ssh -G makes of the host, from your ~/.ssh/config
SSH sign-inThat ssh can sign in to the server
TunnelThat the tunnel to the database port opens
Reach the serverWithout SSH: that something answers at the host and port
Server answersThat it greets saferow as MySQL or PostgreSQL
Sign inThat the user and password are accepted
DatabaseThat the database exists and the user may use it
Safe readsThat reads can run safely: as your user, or a SELECT-only user
Agent accessWhether the agent and saferow mcp may see it

A SQLite connection has three: the file, Safe reads and Agent access.

When a step fails

Nothing is saved until a connection has worked once, and Cancel always cancels. A test of an edited connection runs on its own, so a mistake never breaks the one you have.

The guides for each step

Still stuck? In saferow, choose Help › Report a Problem…, or write to support. Please leave out passwords, keys and real data.