简体   繁体   English

数据库安装问题:为 MongoDB(Windows 64 位)下载的 zip 中缺少二进制文件文件夹 (bin)

[英]DB Installation Issue: Binary files folder (bin) is missing in downloaded zip for MongoDB (Windows 64-bit)

I downloaded the MongoDB for Windows 64-bit from http://www.mongodb.org/downloads .我从http://www.mongodb.org/downloads 下载了 Windows 64 位的 MongoDB File name: mongodb-src-r3.0.3.zip文件名:mongodb-src-r3.0.3.zip

However, the zip folder doesn't have a bin folder & no.exe files to use for installation (as given in the installation steps).但是,zip 文件夹没有用于安装的 bin 文件夹和 no.exe 文件(如安装步骤中所示)。

The below commands say that I use Windows 7 64-bit architecture.以下命令表示我使用 Windows 7 64 位架构。 wmic os get caption wmic os get osarchitecture wmic os 获取标题 wmic os 获取 osarchitecture

Even tried using the.msi (Installation Package) given in the same downloads page.甚至尝试使用同一下载页面中提供的.msi(安装包)。 It doesn't give any error.它没有给出任何错误。 But still the bin folder is not created to test MongoDB (mongod.exe).但是仍然没有创建 bin 文件夹来测试 MongoDB (mongod.exe)。

Am I missing something?我错过了什么吗?

I also faced the same problem as @ArcherGilly told to install again and select the custom options and by doing this finally I found the bin folder with other txt file like license我也遇到了与@ArcherGilly 告诉我再次安装并选择自定义选项相同的问题,通过这样做,我终于找到了带有其他 txt 文件(如许可证)的bin文件夹

C:\\Program Files\\MongoDB\\Server\\4.0 -> Previously there were only two folders C:\\Program Files\\MongoDB\\Server\\4.0 -> 以前只有两个文件夹

  • data数据
  • log日志

and Now along with the above two folders, there is bin folder along with 4 more files现在除了上面的两个文件夹,还有 bin 文件夹和另外 4 个文件

  • LICENSE-Community.txt许可证社区.txt
  • MPL-2 MPL-2
  • README自述文件
  • THIRD-PARTY-NOTICES第三方通知
  • THIRD-PARTY-NOTICES.gotools第三方通知.gotools

我遇到了同样的问题,但是一旦我使用了 .msi 安装程序并选择了“自定义”而不是“完整”,它就会安装 /bin 文件夹。

I had the same issue.我遇到过同样的问题。 It could be because you changed the installation directory to another drive where the windows folder isn't.这可能是因为您将安装目录更改为 Windows 文件夹不在的另一个驱动器。

So if this your case, simply find the bin folder in the C: drive.因此,如果您是这种情况,只需在 C: 驱动器中找到 bin 文件夹即可。

After the installation, I used the installer and chose the make changes option without making really any changes.安装后,我使用了安装程序并选择了进行更改选项,而没有进行任何更改。 After the process was finished I found the bin folder.该过程完成后,我找到了 bin 文件夹。

After downloading the msi and installation process.下载msi和安装过程后。 I found the bin folder but there is no mongo.exe file in that folder.我找到了 bin 文件夹,但该文件夹中没有 mongo.exe 文件。

But when I run the path enclosed in " \\mongo.exe" in command prompt, the mongo db is running.但是当我在命令提示符下运行包含在“\\mongo.exe”中的路径时,mongo db 正在运行。

while using .msi installer please select 'custom', instead of 'complete', it will create the bin folder at \\Installation_Dir\\MongoDB\\Server\\4.2\\bin\\使用 .msi 安装程序时,请选择“自定义”,而不是“完整”,它将在 \\Installation_Dir\\MongoDB\\Server\\4.2\\bin\\ 下创建 bin 文件夹

Thanks谢谢

hey friends I have been facing same problem for 10 days anyone have ans... C:\Program Files\MongoDB\Server\4.0 -> Previously there were only two folders嘿朋友们,我已经面临同样的问题 10 天了,任何人都有答案... C:\Program Files\MongoDB\Server\4.0 -> 以前只有两个文件夹

data log and Now along with the above two folders, there is bin folder along with 4 more files data log 和现在除了以上两个文件夹,还有 bin 文件夹以及另外 4 个文件

LICENSE-Community.txt MPL-2 README THIRD-PARTY-NOTICES THIRD-PARTY-NOTICES.gotools LICENSE-Community.txt MPL-2 自述文件第三方通知第三方通知.gotools

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM