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 -

c# - Retrieve google contact -

javascript - How to insert selected radio button value into table cell -