mongodb 在windows下的启动方式

普通启动
mongod --config D:\MongoDB\etc\mongodb.conf

使用SC安装为Windows服务
sc create MongoDB binPath= "d:\mongoDB\bin\mongod.exe --service --config=D:\mongoDB\etc\mongodb.conf"

mongoDB 文档数据库

posted on 2017-07-28 16:40  Xiaox-xin  阅读(99)  评论(0)    收藏  举报

导航