Mongodump is not working , getting "not authorized"

being named “admin” or “root” does not immediately mean you have access to everything. it depends on how that user was added, namely the “role” and “db” fields.

also possible you are not giving the correct parameters can you give us the exact command you are using (without the password, of course)?

1 Like