mongodb启动命令
运行cmd.exe 进入DOS命中界面
> cd G:\mongodb\bin
> G:\mongodb\bin>mongod --dbpath "G:\mongodb\data\db"
看到waiting for connections on port 27017 就表示 启动成功,然后 通过http://localhost:27017/ 在浏览器访问,看到提示文字 It looks like you are trying to access MongoDB over HTTP on the native driver port.表示 mongodb 启动成功了
运行cmd.exe 进入DOS命中界面
> cd G:\mongodb\bin
> G:\mongodb\bin>mongod --dbpath "G:\mongodb\data\db"
看到waiting for connections on port 27017 就表示 启动成功,然后 通过http://localhost:27017/ 在浏览器访问,看到提示文字 It looks like you are trying to access MongoDB over HTTP on the native driver port.表示 mongodb 启动成功了