Download

Connections

How to add a database, what syncs to your other devices, and how to reach local servers.

Add a connection

Click New connection, or press Cmd+N (Ctrl+N) on desktop. Then paste whatever you have. Cmd+V works anywhere on the page, no need to click into a field first.

Tamery reads most things people keep connection details in:

  • Connection URLs, JDBC, ADO.NET, and ODBC strings
  • .env files, Spring or Quarkus properties, JSON and JS config objects
  • A docker-compose service, using its published port
  • Commands like psql, pg_dump, mysql, sqlcmd, clickhouse-client, or ssh -L
  • A libpq host=… dbname=… string or a .pgpass line

You can also drop a config file onto the window. Tamery fills in the fields, and you can always edit them by hand.

When a pasted string has a known problem, Tamery fixes it and tells you what changed. A placeholder password like [YOUR-PASSWORD] is cleared so you can type the real one. A pooler address that breaks transactions is swapped for a direct one.

Choose an engine, check the details, and click Save connection. Cmd+Enter (Ctrl+Enter) saves from anywhere in the form. The name is optional.

On desktop, and through each machine you're connected to, you also get:

  • A list of databases found on this computer: running Docker containers, and connections saved in DBeaver, TablePlus, DataGrip, pgAdmin, pg_service.conf, .pgpass, or my.cnf. On macOS, the desktop app can take a saved password from the Keychain once macOS asks you; through a machine, a saved password for a database on the machine's computer, without an SSH tunnel, stays there, which uses it for the connection you save from it, for every app you allowed on that machine. The password never leaves that machine, so another place that can run the connection may ask you for it. A password for a database elsewhere, or one in the Keychain, you type.
  • Add via MCP (desktop only), where your coding agent finds the database in your project and adds it for you.
  • Dropping a SQLite or DuckDB file onto the window (desktop only). See SQLite and DuckDB.

Choose where it runs

Runs on picks where this connection's queries run for you: Tamery Cloud in the web app, This computer in the desktop app, or one of your machines. The desktop app also offers Tamery Cloud when the web app could reach the connection: synced as Full, with a public host and no SSH tunnel. With only one place to run it, the choice is hidden. Picking a database a machine found sets it for you. Each workspace member picks their own, also from the connection's ⋯ menu on the connections page or the computer or cloud icon at the top of the open connection, which members who can't edit the connection use. When Tamery Cloud doesn't answer, the open connection says so and keeps that icon, so you can switch it to This computer from there.

Choose what syncs

Sync typeOn another device
FullOpen the connection without re-entering its password. The full connection string is stored encrypted in the cloud.
No passwordEnter the password and any SSH or SSL key secrets on each device. The rest of the connection syncs.
Metadata onlyEnter the server details on each device. Only the connection's name, engine, label, and color sync.

You pick this when you create the connection, and it stays. To switch, add the connection again with the sync type you want. Security explains what reaches our servers in each case.

Local and private databases

The desktop app connects directly. In the web app, run tamery machine on a computer that can reach the database.

For a database behind an SSH bastion, turn on SSH tunnel in the connection form. Use your SSH agent, a key file, a pasted key, or a password. SSH tunnels work on desktop and through tamery machine.

For a database in Docker on that server, use its container or Compose service name as the host, like db, and the port inside the container. When the server can't resolve that name, Tamery finds the container there, so the database needs no published port. Your SSH user needs access to Docker.

If the test fails

Tamery names the likely cause and offers a fix when it has one. Usual suspects: the host, the port, the password, SSL settings, or an allowlist of IP addresses on your provider's side. In the web app, allow the cloud proxy's addresses.

Explain with AI helps with an error you have not seen before. It is free on every plan.

After a failed test, the save button becomes Save anyway. Use it for a server you can't reach from here yet.

Manage connections

Right-click a connection, or use its ⋯ button:

ActionWhat it does
EditChange the details. Save changes tests them before saving.
Open in New WindowDesktop only. Work on two connections side by side.
RefreshCheck the connection again and reload its list of databases.
Copy connection stringCopy it for another client. SSH secrets are left out.
Clear saved credentialsFor No password connections. Forget the password on this device.
RemoveRemove the connection from Tamery, with its saved queries and chats, on every device. The database itself is not touched.

Give connections a label and a color in the form. The list groups by label by default; switch to grouping by engine, or sort by date or name. Connections you opened recently sit at the top.

On desktop, postgres://, mysql://, mariadb://, sqlserver://, mssql://, clickhouse://, mongodb:// and mongodb+srv:// links open in Tamery. A link to a server you already have opens that connection. Anything else opens a new connection form, filled in from the link.

Turn this off in Settings → General → Open database links in Tamery.

Offline

On desktop, you can keep querying any database you can still reach. Changes to connections and saved queries sync when you are back online. If two devices change the same connection, the change that reaches Tamery last is the one every device keeps, whatever their clocks say. Signing in, creating a workspace, and AI need the internet, and so does the web app. When this device loses its network on the way out, to a public database host, the SSH host, or the web app's cloud proxy, the failure says you're offline instead of blaming the host. An error the cloud proxy or a machine answers with keeps its own diagnosis, and a failure keeps the network it happened on: once you're back online, it asks you to try again.

Connection examples