QoreDB LogoQoreDB

Connection URLs

All connection URL schemes QoreDB accepts, with the recognized query parameters and default ports per driver.

QoreDB parses connection URLs into normalized fields before storing them. This page lists every scheme the parser accepts, the query parameters it recognizes, and the defaults that apply when you omit something.

The driver is auto-detected from the scheme: paste a URL and QoreDB picks the right engine. You don't need to set the driver manually if your URL is well-formed.

Quick lookup

DriverSchemesDefault port
PostgreSQLpostgres://, postgresql://5432
MySQL / MariaDBmysql://3306
SQL Servermssql://, sqlserver://1433
CockroachDBcockroachdb://, cockroach://26257
MongoDBmongodb://, mongodb+srv://27017
Redisredis:// (TCP), rediss:// (TLS)6379
SQLite(file path, :memory:)n/a
DuckDB(file path, :memory:)n/a

Postgres-compatible providers (Supabase, Neon, TimescaleDB) use the standard postgresql:// scheme. Pick the dedicated driver in the New Connection dialog if you want provider-specific schema niceties; either way the URL format is the same.

PostgreSQL

postgresql://USER:PASSWORD@HOST:PORT/DATABASE?param=value&...
postgres://USER:PASSWORD@HOST:PORT/DATABASE?param=value&...

Recognized query parameters

ParamNotes
sslmodeOne of disable, allow, prefer, require, verify-ca, verify-full.
sslBoolean. Accepts true/false/1/0/yes/no/on/off.
sslrootcert, sslcert, sslkeyFile paths. Setting any of them implicitly enables SSL.

Anything else is preserved as-is in the connection options.

Behavior notes

  • sslmode=disable overrides any SSL-related parameter; the connection is plain TCP.
  • IPv6 hosts work with bracket notation: postgresql://user@[::1]:5432/mydb.

MySQL & MariaDB

mysql://USER:PASSWORD@HOST:PORT/DATABASE?param=value&...

Recognized query parameters

ParamNotes
ssl-mode or sslmodeOne of DISABLED, PREFERRED, REQUIRED, VERIFY_CA, VERIFY_IDENTITY.
ssl or usesslBoolean.
ssl-ca, ssl-cert, ssl-key, ssl-cipherFile paths. Implicitly enable SSL.

SQL Server

mssql://USER:PASSWORD@HOST:PORT/DATABASE?param=value&...
sqlserver://USER:PASSWORD@HOST:PORT/DATABASE?param=value&...

Recognized query parameters

ParamNotes
encryptBoolean. Forces TLS encryption.
sslBoolean (alias).

The Windows authentication modes (NTLM, Integrated) are configured through the form, not the URL.

CockroachDB

cockroachdb://USER:PASSWORD@HOST:26257/DATABASE?sslmode=verify-full
cockroach://USER:PASSWORD@HOST:26257/DATABASE?sslmode=verify-full

CockroachDB uses the same parameters as PostgreSQL (it speaks the Postgres wire protocol). The default port is 26257, not 5432. The default database is defaultdb.

You can also paste a postgresql:// URL pointing at a CockroachDB cluster and pick the CockroachDB engine in the dialog; both work.

MongoDB

mongodb://USER:PASSWORD@HOST:27017/DATABASE?param=value&...
mongodb+srv://USER:PASSWORD@CLUSTER/DATABASE?param=value&...

Recognized query parameters

ParamNotes
tls or sslBoolean. Enables TLS.
authSourceDatabase where the user is authenticated (typically admin).
replicaSetReplica set name when connecting directly to members.
tlsCAFile, tlsClientCertificateKeyFile, tlsCertificateKeyFilePasswordTLS file paths. Implicitly enable TLS.

mongodb+srv:// specifics

  • TLS is enabled implicitly.
  • Port is resolved from DNS SRV records; you don't include it in the URL.
  • Used by MongoDB Atlas and most managed Mongo offerings.

Redis

redis://[USER:PASSWORD@]HOST:PORT[/DB_INDEX]?param=value&...
rediss://[USER:PASSWORD@]HOST:PORT[/DB_INDEX]?param=value&...

rediss:// (with two s) enables TLS. Otherwise the schemes behave the same way.

The path segment after the host is the database index (an integer between 0 and 15 by default; configurable server-side).

SQLite

SQLite has no URL scheme in the strict sense. You point at a file path or :memory::

/absolute/path/to/database.db
./relative/path/to/database.db
:memory:

Accepted file extensions: .db, .sqlite, .sqlite3, .db3, .s3db, .sl3. The file is created automatically on first write if it doesn't exist. WAL journal mode is enabled by default.

DuckDB

DuckDB also takes a path or :memory::

/absolute/path/to/database.duckdb
:memory:
duckdb::memory:

Accepted extensions: .duckdb, .db. The file is created automatically on first write.

Parser errors

The URL parser returns one of these errors when the URL is invalid.

ErrorCause
MissingHostThe URL doesn't include a host (e.g. postgres:///mydb).
InvalidUrlThe URL is not well-formed.
UnsupportedSchemeThe scheme is not in the list above. Recognized schemes: postgres, postgresql, mysql, mongodb, mongodb+srv, redis, rediss, mssql, sqlserver, cockroachdb, cockroach.
InvalidUtf8Percent-encoded characters don't decode to valid UTF-8.
InvalidPortThe port segment isn't a valid integer.

What happens after parsing

The parser produces a normalized record with host, port, user, password, database, plus the recognized SSL/TLS options. The raw URL is never persisted: only the normalized fields are saved (the password ends up in the encrypted vault, the rest in the workspace manifest).

This means you can paste a one-off URL with secrets in it, save the connection, and the URL itself is discarded. If you need to share a connection without sharing the password, share the manifest entry; the recipient enters the password in their own vault.

Where to go next

Newsletter

Stay updated on new releases

Subscribe to get product releases, new drivers notifications, and technical tutorials.

🎁 Bonus: Get our free SQL Performance Cheat Sheet — 9 pages, PostgreSQL / MySQL / SQLite (PDF)!