Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
mongo
rs.remove("host-name:27017")
use admin db.createUser({user:"root", pwd:"MySecurePassword", roles:[{role:"root",db:"admin"}]})
db.createUser({user:"MyUserName", pwd:"MySecurePassword", roles:[ {role:"readWrite",db:"MyDatabase1"}, . . . {role:"readWrite",db:"MyDatabaseN"} ]})
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.