emacs-edbi
emacs-edbi copied to clipboard
Add connection bookmarks/names
The edbi:open-db-viewer
history feature is great. However, there are several databases that I connect to regularly that have very similar connection strings, so it takes me a moment to figure out which is which (and if my Emacs window is narrow or I'm on a small monitor they all show up the same, since the difference is more to the end of the connection string). Also, I often need to connect via an SSH tunnel, so I have a bunch of connections that connect to localhost
with different user/password combinations (or sometimes with the same user and a different password), which makes it even more confusing - and it confuses edbi (it only saves one of the connections).
I've also found that the password is not saved to the history file (and if I manually edit it and add the passwords, they get removed). Am I doing something wrong?
It would be great to have a list of named connections, so that I could select by name instead of by connection string, that would also save the password. It would be even better if I could easily edit the connections file to copy/paste connection strings and credentials without worrying about edbi overwriting it (as it does with the history file).