Mongodb Atlas: not authorized on admin to execute command

前端 未结 9 1746
小蘑菇
小蘑菇 2021-02-12 17:56

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 ad

9条回答
  •  野性不改
    2021-02-12 18:24

    just use this version and then copy its link and replace the username and password from your mongodb atlas that have the permision to read and write and it will connect i was also having the same problem spent a lot of time to solve this then i tries 2.2.12 version and it workerd.

提交回复
热议问题