Hello, I have a mongo instance where there is only one user, which is admin. I am unable to run any commands such as db.getUsers() or even anything. I am trying to make the user root, so that it would be able to run any command but I am unable to. I am stuck with one user that cannot run any commands, and am unsure what to do next:
MongoServerError: not authorized on admin to execute command
any advice on this would be greatly appreciated