KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am logged with a user that has readWriteAnyDatabase, dbAdminAnyDatabase, userAdminAnyDatabase, clusterAdmin but still can not copy database. I am able to access and create collections in both databases individually. > use admin > db.auth('user', 'password') > db.copyDatabase('database1', 'database2') { "ok" : 0, "errmsg" : "unauthorized" } Mongodb version is 2.4.5
Tags (comma-separated)
Save Edits
Cancel