2

I have inherited a MongoDB and no one knows the root password. Is there a way to change it? I am running MongoDB shell version: 3.2.17.

I would like to back up the DB's but need access to see what's there first

| improve this question | | | | |
4

Yes, you need to start your mongod to maintenance mode, without --auth. Then you can change root user password.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.