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
Post a Comment