问题
I ran the MongoDB Community Version Download Setup with the GUI for Mongo - Compass checked. No problems with the installation and the setup was successfully completed.
However after the setup I couldn't find Compass installed anywhere in my system.
Even the C:\Program Files\MongoDB\Server\3.6\bin didn't have a executable file or dll for compass.
What happened to Compass?
回答1:
For some reason in Windows 10 it is installed into the hidden AppData directory. At least I found first a shortcut 'MongoDB Compass' here:
C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MongoDB Inc
and then in the properties of it the actual location seems to be
C:\Users\\AppData\Local\MongoDBCompass\MongoDBCompass.exe
回答2:
I wound up downloading and installing Compass separately. It's available from the Download Center. You can select the version and OS there: Compass Download Options.
The installer lets you choose the destination directory. You can also add a Desktop shortcut in Windows.
Hope that helps!
Dave
回答3:
I had an issue where MongoDB installer wouldn't work at all so I had to choose customize instead of the easy install. The location of the file for Compass should be in:
C:\Users\User_Name\AppData\Local\MongoDBCompassCommunity
as @Jonez said, mine is for the Community edition. Make sure you have your hidden files view enabled. On a side note, I encountered less problems when I used administrative capabilities.
回答4:
I found exe in following paths:
C:\ProgramData\<your user id>\MongoDBCompass\MongoDBCompass.exe
C:\ProgramData\<your user id>\MongoDBCompass\app-1.11.1\MongoDBCompass.exe
回答5:
I was having the same problem
Step 1: Make hidden folder visible
step 2: C:\Users\shankar\AppData\Local\MongoDBCompassCommunity
Step 3: Click on MongoDBCompassComunity edition
You will have compass gui open
Enjoy your Compass Community Edition
回答6:
- After installing the Mongo DB Compass .msi Setup installer.
- Go to C:\Program Files (x86)\MongoDB Compass Installer and run that setup.
- Connect your DB.
回答7:
I'm on windows 10 and can confirm compass even after checking install compass option during installation did not install. That wasn't surprising considering compass is 158 MB and mongo db download was very quick.
回答8:
Actually, I got the same problem in windows 7 when I downloaded MongoDB Compass Zip file from https://www.mongodb.com/try/download/compass and run 'MongoDBCompass.exe'
Then I downloaded the .msi
file instead of zip, installed the .msi file and 'MongoDB Compass' icon added in the start menu.
Click on the 'platform' option and select MSI.
回答9:
I had exact same problem.
On one machine it worked correctly, on other it din't. I found current version (1.14.6) at this link
回答10:
I was having the same problem with the msi installer, I tried with the exe and it worked.
回答11:
I also had the same issue. And I have found that, it occurred when try to install the mongo db more than one time.
来源:https://stackoverflow.com/questions/47696519/windows-mongodb-installed-compass-but-cant-find-compass-within-system