How to start a mongodb service on mac OS X?

前端 未结 10 2066
一整个雨季
一整个雨季 2021-01-31 03:02

I have already installed Mongodb on my mac but the process is currently not running. How do I start the Mongodb service so that I can start using the commands?

10条回答
  •  滥情空心
    2021-01-31 03:41

    If you used homebrew to install MongoDB on macOS you type the following in terminal. Should do the trick in most cases.

    $ brew services start mongodb
    

提交回复
热议问题