connections
Connections

Connections

A connection stores credentials and configuration for one database. DataRunner encrypts all credentials at rest, tests connectivity on creation, and shows live schema directly in the app.

Read
7 min
Sections
6
Databases
15 supported

Adding a connection

Go to Connections in the sidebar and click New connection. Select your database type from the list, then fill in the connection fields:

  • Namea label for this connection within your workspace
  • Hostthe database server hostname or IP address
  • Portdefault ports are pre-filled per database type
  • Databasethe database or catalog name to connect to
  • Username / Passwordthe credentials DataRunner uses to connect

Click Test connection to verify connectivity before saving. If the test succeeds, DataRunner saves the connection and immediately loads the live schema.

Security: Credentials are encrypted at rest using AES-256 and never returned to the browser in plaintext. DataRunner only uses credentials to run queries and test connections — never for any other purpose.

Supported databases

DataRunner currently supports 15 database types:

DatabaseDriverDefault port
PostgreSQLlibpq5432
MySQLMySQL Connector3306
SQL ServerMicrosoft ODBC1433
BigQueryGoogle BigQuery
SnowflakeSnowflake JDBC443
Amazon RedshiftRedshift JDBC5439
ClickHouseClickHouse native8123
DuckDBDuckDB embedded
OracleOracle ODP.NET1521
MariaDBMariaDB Connector3306
CockroachDBPostgreSQL protocol26257
DatabricksDatabricks JDBC443
PrestoPresto JDBC8080
TrinoTrino JDBC8080
SQLiteSQLite3 file

SSL & SSH tunnel

SSL

For databases that require SSL, enable the Use SSL toggle on the connection form. You can optionally upload:

  • CA certificateto verify the server's identity
  • Client certificate + private keyfor mutual TLS (mTLS) authentication

If you enable SSL without uploading a CA cert, DataRunner still enforces an encrypted connection but does not verify the server certificate (sslmode=require). To verify the server, upload the CA certificate (sslmode=verify-ca or verify-full).

SSH tunnel

If your database is in a private network and only accessible through a bastion host, enable SSH tunnel on the connection form and provide:

  • SSH hostthe bastion server hostname or IP
  • SSH portusually 22
  • SSH userthe username for the bastion
  • SSH private keyPEM-encoded private key (RSA or Ed25519)

DataRunner opens an SSH tunnel to the bastion, then connects to the database through it. The bastion needs network access to the database host. Your local machine does not.

Note: SSH private keys are encrypted at rest. Passphrase-protected keys are supported. DataRunner uses the tunnel only for the duration of a query or test — it does not maintain a persistent SSH session.

Schema browser

After a connection is saved, click it from the Connections list to open the detail view. The Schema tab shows all schemas, tables, columns, data types, and estimated row counts pulled from your database in real time.

You can also access the schema browser from inside the SQL Workbench — click the schema icon in the left panel to expand the tree for your selected connection.

Connection health monitoring

DataRunner periodically pings each active connection and tracks latency. The Connections list shows a status badge per connection:

  • Healthylast ping succeeded within the expected latency range
  • Slowlast ping succeeded but latency is elevated
  • Unreachablelast ping failed; check host/port/credentials

You can trigger a manual connectivity test at any time from the connection detail page. On failure, the full error message from the database driver is displayed.

Deleting a connection

Before deleting a connection, check whether any active reports or watches are using it. DataRunner will warn you if you try to delete a connection that is referenced by a report or watch — you must either reassign or delete those first.