New to MongoDB Can not run command mongo

前端 未结 15 1973
孤独总比滥情好
孤独总比滥情好 2021-01-29 20:00

I was trying to run MongoDB:

   E:\\mongo\\bin>mongod
    mongod --help for help and startup options
    Sun Nov 06 18:48:37
    Sun Nov 06 18:48:37 warning:          


        
15条回答
  •  遥遥无期
    2021-01-29 20:17

    This worked for me (if it applies that you also see the lock file):

    first>youridhere@ubuntu:/var/lib/mongodb$ sudo service mongodb start 
    then >youridhere@ubuntu:/var/lib/mongodb$ sudo rm mongod.lock*
    

提交回复
热议问题