MongoDB authenticate failed. Please check your username and password from your m
最近闲的下了个RockMongo来学习,发现一登陆就报这个错误:
MongoDB authenticate failed. Please check your username and password from your mongo administrator.
于是乎找到rockmongo/config.php
修改 $MONGO["servers"][$i]["mongo_auth"] = true;//enable mongo authentication?
将权限验证打开,而后在登录就可以了。
备注:原来mongodb默认是不需要验证就能使用的,出现之前的错误多半是你加上了权限认证的缘故。
相关推荐
lbyd0 2020-11-17
BigYellow 2020-11-16
sushuanglei 2020-11-12
我心似明月 2020-11-09
zhushenghan 2020-11-09
sunnnyduan 2020-10-16
不要皱眉 2020-10-14
xiaohai 2020-09-29
songxiugongwang 2020-09-22
萌亖 2020-09-17
LuckyLXG 2020-09-08
sdmzhu 2020-09-01
mkhhxxttxs 2020-09-16
xiaohai 2020-09-16
newcome 2020-09-09
jaylong 2020-08-19
大秦铁骑 2020-08-19
thatway 2020-08-19