如何使用mongo shell

CdMongoDb安装目录到bin目录下,执行mongo命令即可,其他命令参考手册:https://www.runoob.com/mongodb/mongodb-create-collection.html

 

注:不能用的话配置环境变量,路径到mongodb安装目录bin路径之下

原文地址:https://www.cnblogs.com/luqiang213917/p/11740529.html