摘要: use admindb.createUser({user:"root",pwd:"root",roles:[{"role":"userAdminAnyDatabase","db":"admin"}]}) db.auth("root", "root")db.createUser({user:"jdh1 阅读全文