Windows下Mongodb启动问题

把mongodb安装完,运行server出现问题

在Server目录下新建一个data文件夹,就可以运行了

Detected unclean shutdown 问题

把存放mongodb数据的mongod.lock文件删除就好了

 

为什么会出现这个问题?

因为你没有正确关闭mongodb数据库,以后ctrl + c关掉

posted @ 2016-11-25 17:16  胜强  阅读(164)  评论(0)    收藏  举报