Connect to a database

Engines, environments, the keychain, verified TLS, AWS discovery, tunnels, and shared team connections.

The connection manager with the engine list and the profile form

Press Ctrl+O to open the connection manager. Everything about a connection lives there: the engine, the address, sign-in, tunnels, timeouts and the agent's access level.

Engines

Row Patrol speaks SQLite, PostgreSQL, MySQL and MariaDB, plus SQL Server and Turso, which are in preview and not yet tested as thoroughly.

  • SQLite opens a local database file.
  • Turso connects to a Turso database over HTTPS: put the hostname in Host and the database token in Password.
  • SQL Server is in preview: tunnels, writing against a real server and TLS with your own certificates are not yet tested, and backup, restore and structure editing are unavailable for it.

Create a connection

  1. Choose the engine and fill in host, port, database, user and password.
  2. Pick an environment: Development, Staging or Production. Production connections are marked red throughout the app and ask for their name before any write.
  3. Click Open read-only to connect. That also saves the connection, if its details are valid — there is no separate Save button.

Test Connection checks a connection without touching your open window or running your SQL.

You can keep hundreds of connections, filed into groups, marked as favorites, and given a colour dot so production is never a guess. Duplicate copies one to a new environment; saved passwords are deliberately not copied.

Passwords and your keychain

Passwords and SSH key passphrases are asked for each time by default. Tick Remember to store one in your operating system's keychain — macOS Keychain, Windows Credential Manager or Linux Secret Service. Nothing is ever written to a plain file, and if the keychain is locked Row Patrol asks again instead of falling back to plaintext.

TLS

Remote connections verify the server's certificate by default: verify-full on PostgreSQL, tls=true on MySQL and MariaDB, strict on SQL Server. If your server uses a private certificate authority, attach your own CA and client certificate files in the same dialog. For AWS RDS and Aurora, the right certificates are already built in.

AWS RDS, Aurora and RDS Proxy

From AWS... in the connection dialog looks across your AWS profiles and regions and lists your databases with their status, sign-in method and network route. Pick one and Row Patrol fills in the engine, address, verified TLS, environment label, sign-in and, for private databases, an SSM tunnel.

Sign-in can be:

  • AWS IAM — short-lived database tokens, refreshed automatically, never written to disk.
  • Secrets Manager — the password comes from an AWS secret, kept in memory only.
  • Password — as usual.

Databases with no public address go through AWS SSM Session Manager. You need the AWS CLI and its Session Manager plugin installed, and an instance in the database's VPC that has SSM access to it. Choosing a database picks a suitable instance for you.

If your AWS session has expired, Row Patrol offers Sign in with AWS SSO and continues where it left off.

SSH tunnels

Choose Tunnel → SSH on a PostgreSQL, MySQL, MariaDB or SQL Server connection to reach a database through a jump host, like ssh -L. Hosts, users, keys and jump hosts are read from your ~/.ssh/config, ssh-agent is supported, and unknown hosts ask you to confirm their fingerprint once.

AWS discovery, IAM and Secrets Manager sign-in, tunnels and shared team profiles come with Personal and Team. The 14-day trial unlocks them.

Shared team connections

A team can commit a .sqlclient/ folder to its repository so everyone gets the same connections and the same notes about the database. Open the project folder with the folder button under the connection search, or start Row Patrol inside the repository.

Shared connections never contain credentials. Each person signs in for themselves, and the team owner's agent access defaults to schema-only.

Several databases at once

Each open connection gets its own tab, so development, staging and production can stay open side by side. Alt+1…9 jumps between them, Alt+PageDown/PageUp steps through them, and each tab keeps its own drafts, table tabs, filters, write mode and agent conversation. A slow query in one tab never blocks another.

Open tabs are independent of your saved connections: the tab menu sets how many can be open at once (1 to 10).

Connection settings

Per connection, Query and pool limits set the query timeout (15 seconds by default), the number of rows a query may load (1,000 by default), and how long an idle database session is kept. Switch database... reconnects the tab to another database on the same server without touching the saved connection.

Themes

The palette button in the toolbar, or Switch theme in the command palette, offers Light, Dark, Tokyo Night, Catppuccin, Gruvbox, Nord, Everforest, Kanagawa, Rose Pine, Matte Black and more.