要查找适用于您的 PC 的版本,请与软件发行商联系,安装 mongodb

Sha*_*ari 2 nosql mongodb installation

我想在 Windows 8 上安装 MongoDb,但是当我尝试运行C:\mongodb\bin\mongod.exeiget 时出现此错误:

To find a version for your pc check with the software publisher.
Run Code Online (Sandbox Code Playgroud)

Aar*_*ron 5

您下载并安装了哪个版本?如果您使用的是 64 位 Windows 8,则应下载并安装标有“2008R2+”的版本。 他们的下载页面表明:

Windows 2008+ 版本使用 Windows 的较新功能来增强性能。如果您运行的是 64 位 Windows Server 2008 R2、Windows 7 或更高版本,请使用此版本。

如果您使用的是 32 位 Windows 8,则应下载 32 位 Windows 版本。 当然,32 位版本有一些限制,例如最大数据库大小为 2GB。