I have a MongoDB Atlas cluster within which I am trying to simply copy a database within the same instance. Unfortunately, every time I try to run db.copyDatabase() or copydb admin command, I get the following error:
not authorized on admin to execute command
Which is very strange, because I just have one user, and it has access to everything, at least as far as I can tell on atlas:
Image may be NSFW.
Clik here to view.
I did some search in stackoverflow, but it looked like most of the answers pertain to mongod instances running locally, and not ones running in atlas... Did I setup the user wrong?