Favorite Connections
On this page
Compass allows you to save MongoDB connection configurations to easily reconnect to the same MongoDB deployment using the same specifications.
Note
Starting in version 1.39.2, MongoDB Compass no longer supports migrating from legacy connection files that pre-date version 1.31.0. Legacy connections refer to an internal Compass connection-options format that is stored on disk and no longer supported after version 1.39.0.
If you have legacy connections saved in your favorites, export the connections on version 1.39.0 to convert them into the new format before updating to version 1.39.2 or later.
Save a Favorite Connection
You can save a favorite connection from the New Connection Modal or after you successfully connect to a MongoDB deployment.
Save from New Connection Modal
Save after Connecting to a Deployment
Considerations
On macOS systems, the first time that you update MongoDB Compass to version 1.20 or later, you will need to allow access to your system storage for each saved connection in Recents and Favorites. To learn more, see Allow Keychain Access for Recent and Favorite Connections.
If you run MongoDB Compass on KDE Linux, you must have GNOME Keyring installed to successfully load saved connections. The Electron module Keytar uses GNOME Keyring to securely store the database credentials for your connections.