Dotcloud + MongoDB和pymongo authenticantion失败

时间:2013-02-27 00:25:45

标签: mongodb pymongo bottle dotcloud

我在dotcloud的mongoshell上尝试了这个代码,但它没有验证root用户。

dotcloud运行数据mongo

使用admin db.auth(“root”,“SecurePasswordGoesHere”);

错误:{errmsg:“auth failed”,ok:0.0} 0

我怎样才能让它发挥作用?我正在尝试从pymongo访问mongodb,它也返回了身份验证错误。

0 个答案:

没有答案