Answer the question
In order to leave comments, you need to log in
Mongod command not found?
I put mongodb on this video
And let it be registered in .bash_profile export PATH="$PATH:/usr/local/mongodb/bin"
But it still doesn't work. Who can tell what's wrong?
Answer the question
In order to leave comments, you need to log in
Option 1: (probably you forgot to do it)
and $PATH is better to put at the end
Option 2:
$ ln -s /usr/local/mongodb/bin/mongod /usr/local/bin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question