Mongo connection setting credentials for tMongoDBConnection2_8

One Star

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 Smiley Happy
Moderator

Re: Mongo connection setting credentials for tMongoDBConnection2_8

Hi,
Could you contact to your Mongo DB successfully without talend? What's your Mongo DB version?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now