Ubuntu Mogo 常用命令查询命令 常用命令 查看数据库: show dbs指向某个数据库:use 数据库名查看该数据下的集合:show collections查找数据库中某个集合的数据:db.集合名.find() 查询命令 db.TUser.find({enter : “pc”})