Jump to content

How to query mongodb from jasper


siladitya.dash

Recommended Posts

How to query mongodb from jasper where the authentication db seats separate from the query database. I'm able to connect the mongodb by providing the connection string having the authentication db name like something 

 

mongodb://etlwfm:w0rk_3tlQA@*.*.*.*,*1.*1.*1.*1,*2.*2.*2.*2/admin?replicaSet=rs0

 

I could verify the connection was successful. But while providing the query it never return any results. The DB which I wants to fetch data from is wfm_dev. But looks the query assumes the data resides in admin db only. Is there any way I can mention the database name from which I would like to fetch the data from.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...