macOS 安装 MongoDB4.2

brew tap mongodb/brew

brew install [email protected]

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 [email protected]

mongo

猜你喜欢

转载自www.cnblogs.com/aimod/p/11809823.html
今日推荐