我已经在我的 Windows7(64位)机器上安装了 MongoDB。我也创建了路径 data/db,但是当我尝试使用命令 'C:\mongodb\bin\mongod.exe'启动 mongodb 时,它没有启动。正在播放 admin web console waiting for connections on port 28017。
1.1 : Make directory name "data" in C:/ ( so we have C:/data ),after that make directory "C:/data/db" <br>
1.2 : run in CMD ( Run as Admin) command -> "echo logpath=C:/mongodb/log/mongo.log > C:/mongodb/mongodb.cfg" <br>
1.3 : run in CMD (Run as Adin) command -> "C:/mongodb/bin/mongod.exe --config C:/mongodb/mongod.cfg --install" <br>
1.4 : run command "net start MongoDB" <br>