Docs Menu

Docs HomeView & Analyze DataMongoDB Compass

Favorite Connections

On this page

  • Save a Favorite Connection
  • Edit a Favorite Connection
  • Delete a Favorite Connection
  • Considerations

Compass allows you to save MongoDB connection configurations to easily reconnect to the same MongoDB deployment using the same specifications.

You can save a favorite connection from the initial connect screen, or after you have successfully connected to a MongoDB deployment.

1
2
Favorite Connection Button
click to enlarge
3
Name Favorite Connection
click to enlarge
4
5
1
Save connection to favorites from menu
2
Name Favorite Connection
click to enlarge
3
4
1
Saved Favorite Connection
click to enlarge

To Copy or Remove a Favorite Connection, hover over the target connection and click the button.

  • Copying a connection creates another Favorite Connection with the same configuration.

  • Removing a connection deletes that Favorite Connection.

2

When you make any change to a connection, a dialog will appear at the bottom of the form with options Discard and Save Changes.

3
1
2
Image showing selecting Favorite Connection dropdown
click to enlarge

Compass displays a dropdown menu with options Copy and Remove.

3

Compass removes the connection from the Favorites list and returns the New Connection form to the default state.

  • 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.

← Required Access