Friday, September 30, 2016

MongoDB "root" Role

To perform functions such as replication administration, the "dbAdminAnyDatabase" role is not enough. The "root" role is required".
db.grantRolesToUser("admin",[{role:"root","db":"admin"}])

Reference: http://stackoverflow.com/questions/23943651/mongodb-admin-user-not-authorized

1 comment:

  1. Looking for the best website to buy LSD, K2 Powder, pure Ketamine Crystals Powder Visit buyketamineonlineusa.com now! Buy LSD Online

    ReplyDelete