R
R
Rustem Vorozheikin2015-05-20 12:36:25
MongoDB
Rustem Vorozheikin, 2015-05-20 12:36:25

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"

With this, both on the PC and on the server, mongodb is correctly displayed in django.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Labutin, 2015-08-02
@Labutin

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 question

Ask a Question

731 491 924 answers to any question