Mongod: Command Not Found (OS X)

前端 未结 9 975
情深已故
情深已故 2020-12-14 17:08

I am trying to test MongoDB and I have it all downloaded and moved into the root folder. I can navigate to the folder that holds the mongod, but when I try to run it by typi

9条回答
  •  遥遥无期
    2020-12-14 17:57

    "Mongod" isn't a stand-alone command. You need to run the command like this:

    ./mongodb/bin/mongod
    

    I used this webpage to help me answer this question.

提交回复
热议问题