运行数据 D:\Mongodb\bin>mongod --dbpath D:\Mongodb\data 客户端访问数据库 D:\Mongodb\bin>mongo 127.0.0.1:27017 修改端口号 mongod --dbpath D:\Mongodb\data --port 10001