标签:ODB root ash write mongod pwd ref user https
原文作者: xingguang
原文链接:https://www.tiance.club/post/2802551252.html
添加账号密码
use admin
db.createUser({user:"root",pwd:"",roles:["root"]})
use test
db.createUser({user:‘root‘,pwd:‘root‘,roles:[‘readWrite‘]})
原文作者: xingguang
原文链接:https://www.tiance.club/post/2802551252.html
标签:ODB root ash write mongod pwd ref user https
原文地址:https://www.cnblogs.com/yizhidaozuihou/p/12830155.html