Skip to main content

Connection URL Reference

TablePro parses standard database connection URLs for importing connections, opening them directly from a browser or terminal, and configuring SSH tunnels.

URL Schemes

Append +ssh to any scheme (except SQLite) to use an SSH tunnel:

Standard Format

Examples:
Passwords containing special characters (@, #, %, :) must be percent-encoded. For example, p@ss#word becomes p%40ss%23word.

SSH Tunnel Format

SSH tunnel URLs encode both SSH and database credentials in a single string:
Examples:
If db_host is omitted, it defaults to 127.0.0.1.

Query Parameters

Connection

SSL / TLS

Example:
These parameters open a specific table, view, or schema immediately after connecting. On databases that support schema switching (PostgreSQL, Redshift, SQL Server, Oracle), schema switches the schema. On databases that don’t, the value is treated as a database name and switches the database instead. Example:

Filtering

Apply a filter to the opened table automatically. operator is accepted as an alias for operation. raw and query are accepted as aliases for condition. Example:

Appearance

Example:

MongoDB

Any other query parameter on a MongoDB URL passes through to the driver unchanged. Multi-host URIs with comma-separated hosts are supported. Example:

Redis

The path component sets the database index (0-15). The rediss:// scheme automatically enables TLS.

Cassandra / ScyllaDB

The path component sets the default keyspace. Both cassandra:// and scylladb:// schemes use the same format.

DuckDB

DuckDB uses file-based connections. The path after :// is the file path, same as SQLite.

ClickHouse

ClickHouse uses HTTP on port 8123 by default. ch:// is accepted as an alias.

etcd

The etcds:// scheme automatically enables TLS. Default port is 2379.

libSQL / Turso

The URL host maps to the database URL. The auth token goes in the password field of the connection form.

Cloudflare D1

The host maps to the Cloudflare Account ID. The path sets the database name or UUID.

SSH Tunnel

Example:

Opening URLs from Browser or Terminal

Launch and connect from a browser or terminal:
Uses a saved connection if it matches, otherwise creates a temporary session. To save permanently, click New Connection on the welcome screen and pick Import from URL… in the chooser footer.
Import from URL sheet with a pasted connection URL

The Import from URL sheet accepts every scheme in this reference

+ssh schemes are not registered with macOS, so open and browser links cannot route them to TablePro. Use the Import from URL… sheet for SSH tunnel URLs.
To force TablePro when another client also handles the scheme, use open -b com.TablePro "mysql://...". See Terminal and DDEV for the tablepro command and a ddev tablepro host command.
Every URL opened from outside the app shows a confirmation alert with the database type, host, user, and database before TablePro connects. Connect only if you trust the source of the link. For connections to this machine (localhost, 127.x.x.x, ::1) the alert also offers Always Allow. A trusted link is matched by database type, host, database, username, and the URL’s name parameter, never the port. Only loopback hosts can be trusted; remote hosts always prompt. Review trusted links under Settings > General > Trusted Links, where you can forget them one at a time or all at once.