Answer the question
In order to leave comments, you need to log in
Why did db.copyDatabase() stop working after upgrading mongodb from version 2.4.9 to version 3.0.3?
Yesterday, copying data from the server to the PC worked fine. Updated mongodb to latest version 3.0.3 today. Again tried to implement copying with the command
db.copyDatabase('shoppr_usercontent_db', 'shoppr_usercontent_db', '52.74.174.156')
, but it throws an error"ok" : 0,
"errmsg" : "couldn't connect to server 52.74.174.156:27017 (52.74.174.156), connection attempt failed"
Answer the question
In order to leave comments, you need to log in
Monga with authorization?
Changed in version 3.0: When authenticating to the fromhost instance, db.copyDatabase() supports MONGODB-CR and SCRAM-SHA-1 mechanisms to authenticate the fromhost user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question