Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Web Technology by (47.6k 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 (106k points)

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

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+3 votes
2 answers

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...