mac上运行mongodb-community 利用brew安装 brew install mongodb-community 运行 brew services start mongodb-community 若有错误,欢迎指出。