A
A
Aleksandr2018-07-06 12:39:01
MongoDB
Aleksandr, 2018-07-06 12:39:01

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

1 answer(s)
A
Askhat Bikmetov, 2018-07-06
@Sashjkeee

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 question

Ask a Question

731 491 924 answers to any question