Windows MongoDB - 安装了指南针但在系统中找不到指南针
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/47696519/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows MongoDB - Installed Compass but can't find Compass within system
提问by Sad CRUD Developer
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.
我使用 Mongo 的 GUI 运行了 MongoDB 社区版本下载设置 - 检查了指南针。安装没有问题,安装成功完成。
However after the setup I couldn't find Compass installed anywhere in my system.
但是,在设置之后,我在系统中的任何地方都找不到安装 Compass。
Even the C:\Program Files\MongoDB\Server\3.6\bin didn't have a executable file or dll for compass.
甚至 C:\Program Files\MongoDB\Server\3.6\bin 也没有用于指南针的可执行文件或 dll。
What happened to Compass?
指南针怎么了?
采纳答案by Jonez
For some reason in Windows 10 it is installed into the hidden AppData directory. At least I found first a shortcut 'MongoDB Compass' here:
出于某种原因,在 Windows 10 中,它被安装到隐藏的 AppData 目录中。至少我首先在这里找到了一个快捷方式“MongoDB Compass”:
C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\MongoDB Inc
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
C:\Users\\AppData\Local\MongoDBCompass\MongoDBCompass.exe
回答by Jonez
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.
安装程序允许您选择目标目录。您还可以在 Windows 中添加桌面快捷方式。
Hope that helps!
希望有帮助!
Dave
戴夫
回答by shankar singh rajput
I was having the same problem
我遇到了同样的问题
Step 1: Make hidden folder visible
步骤 1:使隐藏文件夹可见
step 2: C:\Users\shankar\AppData\Local\MongoDBCompassCommunity
第 2 步:C:\Users\shankar\AppData\Local\MongoDBCompassCommunity
Step 3: Click on MongoDBCompassComunity edition
第三步:点击MongoDBCompassComunity版
You will have compass gui open
您将打开指南针 gui
Enjoy your Compass Community Edition
享受您的指南针社区版
回答by Steephen
I found exe in following paths:
我在以下路径中找到了 exe:
C:\ProgramData\<your user id>\MongoDBCompass\MongoDBCompass.exe
C:\ProgramData\<您的用户 ID>\MongoDBCompass\MongoDBCompass.exe
C:\ProgramData\<your user id>\MongoDBCompass\app-1.11.1\MongoDBCompass.exe
C:\ProgramData\<您的用户 ID>\MongoDBCompass\app-1.11.1\MongoDBCompass.exe
回答by Chris9000
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:
我遇到了 MongoDB 安装程序根本无法工作的问题,所以我不得不选择自定义而不是简单安装。Compass 文件的位置应该在:
C:\Users\User_Name\AppData\Local\MongoDBCompassCommunity
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.
正如@Jonez 所说,我的是社区版。确保您启用了隐藏文件视图。附带说明一下,我在使用管理功能时遇到的问题较少。
回答by Asmath
回答by SanSolo
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.
我在 Windows 10 上,即使在安装过程中检查了安装指南针选项后也可以确认指南针没有安装。考虑到指南针是 158 MB 并且 mongo db 下载非常快,这并不奇怪。
回答by Paola Reyes
I was having the same problem with the msi installer, I tried with the exe and it worked.
我在使用 msi 安装程序时遇到了同样的问题,我尝试使用 exe 并且它工作正常。
回答by Manohar Reddy Poreddy
回答by Imalka Prasadaini
I also had the same issue. And I have found that, it occurred when try to install the mongo db more than one time.
我也有同样的问题。我发现,当多次尝试安装 mongo db 时会发生这种情况。