siladitya.dash Posted July 7, 2017 Share Posted July 7, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now