MongoDB 和 Robomongo:无法连接(身份验证) [英] MongoDB and Robomongo: Can't connect (authentication)
本文介绍了MongoDB 和 Robomongo:无法连接(身份验证)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下用户:
{
"_id" : "admin.root",
"user" : "root",
"db" : "admin",
"roles" : [
{
"role" : "root",
"db" : "admin"
}
]
}
对于我的数据库:
{
"_id" : "mydb.mydbDbOwner",
"user" : "mydbDbOwner",
"db" : "mydb",
"roles" : [
{
"role" : "dbOwner",
"db" : "mydb"
}
]
}
我无法通过本地主机上的 Robomongo 连接:
I can't connect via Robomongo on localhost:
同样适用于...
Database: mydb
User Name: root
Database: mydb
User Name: mydbDbOwner
我该如何解决这个问题?
How can I fix this problem?
推荐答案
我在 Mac 上遇到了完全相同的问题.我删除了 Robomongo 客户端并从他们的网站下载最新版本.它只是有效:)
I was experiencing exactly the same issue on Mac. I removed the Robomongo client and download the latest version from their website. It just works :)
这篇关于MongoDB 和 Robomongo:无法连接(身份验证)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文