0 votes
1 view
in Web Technology by (40.4k points)

I have been trying to get my mongodb going for about a day now. The problem seems to be that the mongod command is not found. I have the npm package mongoose installed in my node.js build. When I try to start the server with the mongod command the git bash returns that the command is not found.

I have been googling for an answer and it looks like I need to make mongodb into a command, I'm not sure how to do this. Any advice would help.

I have downloaded the mongodb into my files it's located here C:\Program Files\MongoDB\Server\3.0 ( Not sure if that matters or not).

Really not sure what to do from here.

1 Answer

0 votes
by (92.9k points)

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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !