当前位置:Gxlcms > 数据库问题 > Mac下MongoDB enterprise版的安装

Mac下MongoDB enterprise版的安装

时间:2021-07-01 10:21:17 帮助过:3人阅读

/Users/Shiming/mongodb-osx-x86_64-enterprise-3.6.2/bin:$PATH" # 添加PATH变量
source ~/.bash_profile # 使PATH更新马上生效

 

4. 验证安装

cd mongodb-osx-x86_64-enterprise-3.6.2/  # 切换到MongoDB目录下
mongo --nodb # 启动mongo db with nodb option, --nodb的意思是在启动MongoDB的时候不指定db address

 

命令行将返回MongoDB shell的版本

MongoDB shell version v3.6.2

 

Mac下MongoDB enterprise版的安装

标签:http   mongo   分享   输入   path   add   version   profile   bsp   

人气教程排行