mongodb - Removed mongod lock file do i need to create users again -


i accidently closed mac terminal.due needed remove mongod.lock file , run db --repair question need create users again in database or else remain same?

no. don't need create users again. .lock file created automatically once service started , not gets deleted when mongo service stopped unexpectedly. can remove lock file restart service. of case don't need run repair command, deleting lock file enough


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -