简体   繁体   中英

Can't install Mongodb on Mac OS 10.9

I had OS 10.8 on my MacBook Air, then I upgraded to OS 10.9, everything is good except mongodb does not work.

I installed Xcode 5 then I reinstalled the brew on my Mac but mongodb does not work.

It is installed at:

/usr/local/Cellar/mongodb/2.4.8

But when I execute mongod , I get this result: mongod: command not found

Can anybody help me?

Thank you!

try reinstalling it with brew but be sure to update it first

brew services stop mongodb
brew uninstall mongodb

brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM