Wesley13 Wesley13
3年前
mongoDB的安全相关
开启认证:在配置文件里新增一行authtrue创建用户:1.创建语法:createUser2.{user:"<name",pwd:"<cleartextpassword",customData:{<anyinformation},roles:\{role:"<role",db:"<database"}\