You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] - Close connection (Instead of delete it) #12
I was switching between development and staging databases and was startled that I couldn't find a value, I just realized that I was using the wrong connection, when I and searched a table with @, I picked up the first one I saw, my bad that I didn't read the DB column, then, I wanted to close one of the connections so I just get the tables from the DB I'm interested, I didn't find how, and seems to be that is not implemented.
Thanks for the clear write-up. v0.11.0 adds Disconnect.
Right-click the connection in the tree and pick Disconnect (or run Disconnect from the command palette). Its tables and Redis keys drop out of @, : and completion, so picking a table from the wrong database can't happen while it's disconnected. Its open tabs stay with the data they show; the next fetch, run or expanding the node connects again. If it has an open transaction, you're asked first.
To tell connections apart at a glance, a connected one now has a dot after its name in the tree (an * with icons = "ascii"), and a disconnect shows a Disconnected toast.
Upgrade: brew upgrade kackerx/tap/sqlmux, npm install -g sqlmux@latest, or go install github.com/kackerx/sqlmux/cmd/sqlmux@latest. Closing as done; feel free to reopen.
Activity
kackerx commentedon Nov 19, 2026
Thanks for the clear write-up. v0.11.0 adds Disconnect.
Right-click the connection in the tree and pick Disconnect (or run Disconnect from the command palette). Its tables and Redis keys drop out of
@,:and completion, so picking a table from the wrong database can't happen while it's disconnected. Its open tabs stay with the data they show; the next fetch, run or expanding the node connects again. If it has an open transaction, you're asked first.To tell connections apart at a glance, a connected one now has a dot after its name in the tree (an
*withicons = "ascii"), and a disconnect shows a Disconnected toast.Upgrade:
brew upgrade kackerx/tap/sqlmux,npm install -g sqlmux@latest, orgo install github.com/kackerx/sqlmux/cmd/sqlmux@latest. Closing as done; feel free to reopen.