2
[email protected] MINGW64 /C/MongoDB/bin
$ ls
bsondump.exe* mongodump.exe* mongoperf.exe* mongotop.exe*
libeay32.dll* mongoexport.exe* mongorestore.exe* ssleay32.dll*
mongo.exe* mongofiles.exe* mongos.exe*
mongod.exe* mongoimport.exe* mongos.pdb
mongod.pdb mongooplog.exe* mongostat.exe*
[email protected] MINGW64 /C/MongoDB/bin
$ mongod.exe
bash: mongod.exe: command not found
我在windows8.1上安装了mongoDB,版本为Windows 64位2008 R2 +。有谁能告诉我为什么我在启动mongod.exe时得到了命令未找到错误?使用git bash启动MongoDB
您需要'。/'从当前目录运行命令,所以使用'./mongod.exe'。 –
它的工作原理,非常感谢sooooooo – user5192042