Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Mongo connection setting credentials for tMongoDBConnection2_8

The way our mongo is setup there is admin credentials and each of the dbs have their own credentials too.
So I do enter the server name, port, db name, user name, and password...
I have entered the admin user name and password, did not work got
connecting to socket on port 3343
connected
Exception in component tMongoDBConnection2_8
com.mongodb.CommandResult$CommandFailure: command failed : { "serverUsed" : "dgphxspoap011.phx.myinc.dev/10.105.67.124:27017" , "ok" : 0.0 , "errmsg" : "unauthorized"}
at com.mongodb.CommandResult.getException(CommandResult.java:88)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:134)
at com.mongodb.Mongo.getDatabaseNames(Mongo.java:374)
I used the db's credentials and got exactly the same error.
What am I doing wrong? I tried googling the issue - no luck 0683p000009MACn.png
Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi,
Could you contact to your Mongo DB successfully without talend? What's your Mongo DB version?
Best regards
Sabrina