Databases
Supported databases
The thirteen databases mxds connects to, how each one signs in, and what each one cannot do yet.
mxds connects to thirteen databases. The drivers are built into the app, so there is no ODBC or JDBC driver to set up. How to add a connection is in Connecting a database.


At a glance
| Database | Signs in with | SSH tunnel |
|---|---|---|
| DuckDB | a local file | — |
| MotherDuck | personal token, or a browser sign-in | — |
| SQLite | a local file | — |
| PostgreSQL | username and password | yes |
| Amazon Redshift | username and password | yes |
| MySQL | username and password | yes |
| MariaDB | username and password | yes |
| SQL Server | SQL Server login, or Microsoft Entra ID | yes |
| ClickHouse | username and password | yes |
| BigQuery | service-account key, the Google credentials on your Mac, or another credentials file | — |
| Snowflake | browser sign-in, password (with or without MFA), key pair, or a token | — |
| Databricks | personal access token | — |
| Trino | username, with a password or JWT when the server needs one | yes |
Stop cancels the running query on every engine, on the server itself for the remote ones. What can get in its way is described under each engine below.
DuckDB and MotherDuck
A DuckDB connection is a .duckdb file on your Mac. With Allow writes off, the file is opened read-only, and other programs can keep reading it. A file another program has open for writing cannot be opened at all until that program lets go, read-only or not; that is DuckDB's own lock.
MotherDuck needs your token. Click Sign in with browser, confirm the code the form shows on MotherDuck's page, and the token is filled in for you; or paste a personal token from the MotherDuck website. The token is kept in the Keychain. A token that is missing or rejected fails at once with MotherDuck's own message.
Leave MotherDuck database empty to see every database and share in your account.
The memory limit in Settings ▸ Database holds every DuckDB and MotherDuck connection, each on its own, as well as the built-in database. Past it, DuckDB spills to disk.
The built-in mxds database is a DuckDB too, kept in memory. See Connecting a database.
SQLite
A SQLite connection is a file, with the same Allow writes switch as DuckDB. A column's type is taken from the table's declaration and widened when a row holds something that does not fit, so mixed columns load as text instead of failing.
PostgreSQL and Redshift
Both take host, port, database, username and password; the database is required. Schema is optional: when set, it becomes the session's default schema, so unqualified table names are looked up there first and then in public. The SSL tab sets the SSL mode — disable, prefer, require, verify-ca or verify-full — and takes a root certificate, client certificate and client key in PEM form. Redshift connects the same way, usually on port 5439.
Stop sends PostgreSQL's cancel request. A connection pooler or proxy in front of the database may ignore it; the query then keeps running on the server, and mxds stops reading its rows after two seconds.
MySQL and MariaDB
Host, port, username and password. Leave Database empty to see every database on the server.
The SSL tab sets the SSL mode. The default, Preferred, encrypts when the server offers encryption and falls back to plain when it does not. Required insists on encryption. Neither checks the server's certificate; Verify CA checks that it chains to a trusted authority, and Verify identity also checks that it names the host.
All your queries on one connection share one session, as in the mysql client: a USE db holds for the queries after it, and tabs on the same connection run one after another. If the connection drops, the next query starts again in the connection's own database.
Stop sends KILL QUERY. Behind a proxy such as ProxySQL or RDS Proxy the kill can miss the query.
SQL Server
Host, port and an optional database; leave Database empty to see every database. Authentication is one of:
- SQL password — a SQL Server login and its password.
- Microsoft Entra ID (Browser) — click Sign in with Microsoft and pick your account in the browser; no Azure CLI is needed. Save keeps the sign-in in the Keychain and renews it; Sign out forgets it. Fill in Tenant ID when you are a guest in another organisation's directory.
- Microsoft Entra ID (Azure CLI) — uses the account you signed in with
az login.
Both Entra choices always encrypt and check the server's certificate.
A new connection is encrypted and checks the server's certificate: Encrypt is on and Trust server certificate is off on the SSL tab, as in Microsoft's own ODBC Driver 18. For a server with a self-signed certificate — a local SQL Server in Docker, Azure SQL Edge — turn on Trust server certificate; for a server that does not encrypt at all, turn off Encrypt. A connection you saved before keeps the settings it had.
Stop cancels the statement on the server, and the connection stays open for the next query. Columns of type sql_variant, hierarchyid, geography and geometry are read too.
ClickHouse
mxds talks to ClickHouse over HTTP: port 8123, or 8443 for HTTPS. Paste a URL such as https://host:8443 into Host and mxds picks up the port and HTTPS; ports 443 and 8443 switch HTTPS on by themselves. The SSL tab takes a root certificate and a client certificate and key.
BigQuery
The GCP project id and how mxds signs in:
- Service account — a service-account key file (
.json). - Auto-detect (ADC) — the Google credentials already on your Mac. To sign in with your Google account, run
gcloud auth application-default loginfirst. - User credentials, Impersonation or External account (Workload or Workforce Identity Federation) — the credentials
.jsonfile of that kind.
The account needs permission to run query jobs in that project.
Location is the region your datasets live in, such as EU. Without one, BigQuery assumes US; when a query reads a dataset elsewhere, mxds finds that dataset's region with a dry run first and sends the query there. A query is never sent twice.
Snowflake
Account identifier (such as xy12345.us-east-1) and username, plus optional warehouse, role, database and schema. Authentication is one of:
- Browser, the default — click Sign in with Snowflake and finish the sign-in, MFA included, in your browser. Save keeps the sign-in in the Keychain and renews it; Sign out forgets it.
- Password + MFA — your password and the code from your authenticator app. The code is never saved.
- PAT — a programmatic access token.
- SSO browser — your identity provider's sign-in (SAML), opened each time the connection connects. Your account needs an identity provider set up for it.
- OAuth token — an OAuth access token you already have.
- Password.
- Key pair — a private key file in PKCS#8 form (
.p8); if the key is encrypted, type its passphrase in Key passphrase, which is kept in the Keychain.
A connection saved before these choices existed keeps Password.
Stop cancels the statement on the server. A large result arrives in parts and fills in part by part.
Databricks
Workspace host (such as dbc-xxxx.cloud.databricks.com), the SQL warehouse id, an optional catalog and schema, and a personal access token. Results start to appear when the statement has finished; a large result, which Databricks sends in parts, then fills in part by part. Stop can take up to five seconds to reach a statement that has just started.
Trino
Host, port (8080 by default), an optional catalog and schema, and a username. Leave Catalog empty to see every catalog.
Authentication is None, Password or JWT. Turn on HTTPS on the SSL tab when the coordinator is served over HTTPS.