我在这里已经设置了一个admin
用户
配置里面也加入了auth
=true
这个配置
重启后,但是貌似不起作用
谁能告诉我是那里没设置好么?
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
曾经蜡笔没有小新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