mongodb启动命令

来源:互联网 发布:手机淘宝历史价格查询 编辑:程序博客网 时间:2024/05/21 13:51
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 启动成功了
0 0
原创粉丝点击