macOS 安装 MongoDB4.2
brew tap mongodb/brew
brew install mongodb-community@4.2
In addition to the binaries, the install creates:
the configuration file (/usr/local/etc/mongod.conf)
the log directory path (/usr/local/var/log/mongodb)
the data directory path (/usr/local/var/mongodb)
brew services start mongodb-community@4.2
mongo
posted on 2019-11-07 07:54 QQ10053660 阅读(298) 评论(0) 收藏 举报
浙公网安备 33010602011771号