SyntaxFix
Write A Post
Hire A Developer
Questions
After removing mongod.lock which was inside the data directory in my windows OS,it was still showing the same error message. I had to run mongod with --dbpath to make the mongo command run without errors.