When trying to connect to MongoDB, the following error appears:
"Got error 4206 '{0} Invalid data source definition: auth failed' from HUB"
or
"Got error 4206 '{0} Invalid data source definition' from HUB"
Invalid database name, username or password.
Not enough or missing privileges or rights.
RESOLUTION 1:
Re-check the database and login information with your Database Administrator, make sure all information is correct.
RESOLUTION 2:
It is required that the authentication user should have anyAction and anyResource privilege for connecting to MongoDB from 3.x version. Please check the privileges of a user. See the attached doc “How_to_Grant_Privileges_to_a_User.docx”.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center