Mongod command not found (Windows7)(node.js) Mongod command not found (Windows7)(node.js) bash bash

Mongod command not found (Windows7)(node.js)


Add the mongo's path to the PATH environment variable.

Reference: https://youtu.be/sBdaRlgb4N8?t=120


You need to use ./ to run mongod.exe file. use ./mongod.exe It'll run successfully.


When you open the bin folder it has a file called mongod.pdb instead of mongod.exe But don't worry. It could be rectified by adding the path to the environment variables. By appending the path of the bin folder (C:\Program Files\MongoDB\Server\3.4\bin) you are allowing the computer to run the executable files in that particular folder.