How can I change the connection string in MongoDB Compass on a Mac?

Question

Grade: Education Subject: Support
How can I change the connection string in MongoDB Compass on a Mac?
Asked by:
67 Viewed 67 Answers

Answer (67)

Best Answer
(278)
To change the connection string in MongoDB Compass, go to 'Edit' -> 'Preferences' -> 'Connection'. You can modify the hostname, port, username, password, and authentication mode in the connection settings. After making changes, you'll need to refresh the connection in Compass.