Just noticed DBeaver has projects, you can organize your connections.
You can start a new project via File/New:
You pick a custom project location by unchecking "Use default location":
The active project can be selected here: