MongoError: user is not allowed to do action

前端 未结 6 497
[愿得一人]
[愿得一人] 2021-02-05 10:29

I am using MongoDB Atlas as my database.

I am using angular4 with loopback as api.

My application connects to my database fine. However, when I try to get data,

6条回答
  •  隐瞒了意图╮
    2021-02-05 10:39

    https://docs.mlab.com/troubleshooting-atlas-connection-issues/#getlog-error

    For anyone get the user is not allowed to do action [getLog] on [admin.] error. Had to explicitly give the user the clusterMonitor role

提交回复
热议问题