Mongdb创建 连接过程

在bin目录下启动后
Show dbs 显示库,库里有内容才会显示库名称
Use admin 切换库 没有的默认创建
show users显示用户信息
Show collections显示表名
db.dict.insert({name: '1',type: '2', field:'3',description: '4'})给表插入数据
原文地址:https://www.cnblogs.com/shiyunfront/p/7356601.html