Skip to content

Configuration ​

DBPinball has very little configuration. Most of it is the location of the connection store and the credential source.

Configuration directory ​

PlatformDefault
Windows%APPDATA%\dbpinball
macOS~/Library/Application Support/dbpinball
Linux~/.config/dbpinball

The directory is resolved by dirs::config_dir()/dbpinball in the Rust core. Both the desktop and the CLI call the same resolver, so they cannot drift into two different stores.

The CLI accepts --config-dir <PATH> to override it. The desktop always uses the default.

Files ​

FilePurpose
connections.jsonThe versioned connection store
connections.lockThe cross-process lock, present only while a write is in progress
connections.lock.recoverThe recovery mutex, present only while a stale lock is being recovered

Environment variables ​

VariableUsed byMeaning
DBPINBALL_PASSWORDCLI with --credential-source envThe password for the current invocation

DBPINBALL_PASSWORD is not a persistent credential store. It cannot store or delete a password.

Store schema ​

See the profile schema reference for the exact shape of connections.json.

Released under the MIT License.