Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (6.1k points)
closed by

Error: “MongoDB Compass.app” can’t be opened because Apple cannot check it for malicious software.

closed

4 Answers

0 votes
by (11.4k points)
 
Best answer
To run MongoDB Compass on Mac OS when encountering the "MongoDB Compass.app can't be opened because Apple cannot check it for malicious software" error, right-click on the application and choose "Open." Cancel the warning dialog, go to System Preferences > Security & Privacy, and click "Open Anyway" under the message about an unidentified developer. Confirm your action in the subsequent dialog, and MongoDB Compass should launch without further issues. Note that you should trust the source of the installation before bypassing the warning.
0 votes
by (11.7k points)

1.  Mac OS displays this warning because the compass binary is not notarised yet for Mac. 

This can be done by right-clicking on it in the application folder and selecting Open, you get a second warning with an additional button that allows you to open.

2. By moving the compass into the main Application’s section and then launching it from there, generally resolves most of the issues and the compass will work fine.

Want to learn MongoDB from Scratch, checkout this MongoDB tutorial from Intellipaat.

0 votes
by (13k points)

To run MongoDB Compass on Mac OS when encountering the error message "Error: 'MongoDB Compass.app' can't be opened because Apple cannot check it for malicious software," you can follow the steps outlined below:

Right-click on the MongoDB Compass application and select "Open." This action will trigger a dialog box with a warning about the application being from an unidentified developer.

In the dialog box, click on the "Cancel" button to close it.

Now, go to the Apple menu () in the top-left corner of the screen and select "System Preferences."

In the System Preferences window, click on "Security & Privacy."

In the Security & Privacy settings, you will see a message saying, "MongoDB Compass.app was blocked from opening because it is not from an identified developer." Below that message, click on the "Open Anyway" button.

Another dialog box will appear, confirming your action. Click on the "Open" button to proceed.

MongoDB Compass should now open without any issues. You may need to repeat this process only once for the initial launch. Subsequent launches should not encounter the same error message.

0 votes
by (7.8k points)
Right-click MongoDB Compass.app, select "Open," go to System Preferences > Security & Privacy, click "Open Anyway," and confirm.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Oct 18, 2019 in Web Technology by Sammy (47.6k points)
0 votes
1 answer
asked Dec 20, 2020 in SQL by Appu (6.1k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...