search

Home  >  Q&A  >  body text

mongoDB用户权限操作问题

我在这里已经设置了一个admin用户

配置里面也加入了auth=true这个配置

重启后,但是貌似不起作用

谁能告诉我是那里没设置好么?

天蓬老师天蓬老师2877 days ago645

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-04-28 09:05:48

    Okay, I found a possible solution to the problem online, and I’m going to try it again

    But as soon as I turned it on, I found that it was inexplicably better

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-04-28 09:05:48

    After taking a look, yours is MongoDB 2.6. I have also encountered similar problems.

    See if this article is helpful to you: http://blog.yourtion.com/mongodb-2-6-adduser.html

    reply
    0
  • Cancelreply