Failed to authenticate russell.harrower@admin with mechanism MONGODB-CR: AuthenticationFailed MONGODB-CR credentials missing in the user document.
现在我一直在使用旧版本的 MongoDB,并认为我会将最新版本放在我的新 ubuntu 主服务器上。但是,我现在在使用我设置的管理员用户时遇到问题。
use admin
db.createUser(
{
user: "siteUserAdmin",
pwd: "password",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
}
)
但是,似乎当我使用 Robomongo 时,它决定说我不成功,当我查看日志时,我收到了上面的消息,有人可以让我知道我必须做什么才能登录。这是 RoboMongo 问题还是其他问题?