mongodb修改用户名密码

首先先将启动mongo的配置文件里面的

auth:用户认证,改为false。

正确做法,利用db.changeUserPassword

原文地址:https://www.cnblogs.com/lambertwe/p/7168337.html