status
Show the current default connection and the active session connection. The command takes no options.
Usage
bash
dbmux statusWhat it prints
Both candidates appear: the default connection from config.json and the
active session connection from session.json. Details print for whichever
one is active. With no active session, dbmux falls back to printing the
default.
Which one wins follows the standard resolution order described on the configuration page.
Examples
bash
dbmux statusRelated commands
- connect sets the session this command reports on.
- disconnect clears the active session.
- configuration defines the resolution order.