-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.0
-
Component/s: None
-
None
Currently db.copyDatabase will try to authenticate the user credentials in the specified source database, and it's not possible to authenticate with users from another database (e.g. admin). This makes copyDatabase unusable for setups where users are stored in admin database.
Ideally copyDatabase should accept an extra parameter, allowing authentication database to be specified.
- duplicates
-
SERVER-31071 copyDatabase() command doesn't support an auth DB parameter
- Closed