MongoDB not authorized for query admin.system.users

前端 未结 4 684
滥情空心
滥情空心 2021-01-06 16:01

I am bit new to MongoDb and I am using MongoDb v.2.4.Here the problem is that when I run the mongod with --auth parameter, even after authenticating I am not able to perform

4条回答
  •  被撕碎了的回忆
    2021-01-06 16:56

    I think your admin user has not been configured as mongo says.

    I have just answer a question in another thread with explanation step by step : Not authorized for query on admin.system.namespaces on mongodb

    try it.

提交回复
热议问题