1. createUser
use admin db.createUser( { user: "root", pwd: "xxxxxx", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] } )
2. Enable Auth
1. createUser
use admin db.createUser( { user: "root", pwd: "xxxxxx", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] } )
2. Enable Auth