mongo数据库常用指令 进入当前服务中的mongo数据库 mongo db 显示当前服务中存在的mongo数据库 show dbs 进入数据库 use 库名 查看该数据库下表列 show 库名 在表中搜索数据 db.表名.find().pretty()