MongoDB ODBC configuration for MongoDB BI Connector - mongodb

I’m trying to setup MongoDB BI Connector to use it for Tableau. I have already running mongosqld and it is connecting successfully from windows cmd to aws documentdb, but when I try to setup MongoDB ODBC Data Source it shows Connection failed [MongoDB][ODBC 1.4(w) Driver] can’t connect to MySQL server on ‘xxxxx’. The same error is when trying unicode or ansi. It is also not working connecting directly from Tableau Desktop using MongoDB BI Connector. Same error message. I'm using port 3307. Perhaps anyone has had the same issue and can advise how to solve it?

Related

Mongo DB BI Connector locally with remote db

I'm trying to create an ODBC connection with a remote mongoDB in order to connect MS Power BI with this mongo via ODBC.
By reading the mongoDB Connector documentation here (https://docs.mongodb.com/bi-connector/current/#:~:text=The%20MongoDB%20Connector%20for%20Business,Tableau%2C%20MicroStrategy%2C%20and%20Qlik) - Hosted Database and On Premises BI Connector, i am trying to connect to the remote mongodb with the --mongo-uri option when you start the BI Connector's mongosqld process.
here is the response i am receiving on this connection attempt:
If you can't see the image, the error is "unable to load mongodb information: failed to create admin session for loading server cluster information... socket was unexpectedly closed: EOF"
Does anybody know what i am missing on this connection?

MongoDB connection with Power BI

I have this mongoDB (a SaSS in IBM Cloud) and on this cloud i also have an instance of another noSQL DB, cloudant db.
We were able to connect the cloudant DB on Power BI using only an URL such as "https://8869f932-05f0-4f48-b697-XXXXXXXXXXXX-bluemix.cloudantnosqldb.appdomain.cloud/<DATABASE_NAME>/_design/<DESIGN_DOC_NAME>/_view/<VIEW_NAME>" and "WEB" connection option on PowerBI.
My question is, and i didn't find any info or documentation related to this matter: on MongoDB, there is a way to achieve this kind of connection, using only a uri to a specific view rather than the ODBC connection?
If not, is there any other alternative to connect with this resource on IBM instead of ODBC?
Install mongosqld from : https://docs.mongodb.com/bi-connector/current/installation/
Run mongosqld
Now you can connect to the mongodb instance with read access using mysql/mariadb client or drivers.
NOTE: As mentioned this only has read access, so you can execute all the select queries.
I don't think so if PowerBI doesn't support it already. The MongoDB BI Connector isn't installed in IBM Cloud Databases for MongoDB.

Connected mongodb with power bi with ODBC Driver

Can you guide me about the connection between mongodb and power bi through ODBC driver. I have connection between them. but i got unexpected errors like:
"OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E." , "OLE DB
or ODBC error: [DataSource.Error] ODBC: ERROR [42S22] [MySQL][ODBC
1.4(w) Driver][mysqld-5.7.12 mongosqld v2.14.3]Unknown column 'COD' in 'field list'."
and
"DataSource.Error: ODBC: ERROR [08S01] [MYSQL][ODBC 5.3(w) Driver Lost
conection to MySQL server at 'waiting for initial communication
packet', system error: 10060".
Can you tell me where the problem and how can I overcome on it?
I've had the same problem, try to go over the below steps and take a look at my advice under the fourth point (4).
Install mongosqld on your server based on your OS (first prerequisites).
LunchBI connector:
a) Make logs folder and mongosqld.log file in it.
b) Setup mongosqld.conf (IP:<your_server_ip>, PORT:3307)
Install mongosqld as a System Service link
Create a system DSN on your computer based on your OS, link.
Hint: On Windows (in ODBC data source) try to make both ANSI and UNICODE
connectors and do not forget to select a database in the dropdown menu.*
e.g. connect to Mongo via PowerBI via ODBC
a) Select a connector
b) Select the database, that you have selected in the previous dropdown menu.
For more information follow the official guide
you have to install mongosqld on your server and configure the .yalm file.
Inside it you have to uptade 'bind ip' field, by adding the remote ip.

Unable to connect to Mongo DB Atlas using Mule 4 connector

I am trying to connect to mongodb Atlas using Mule 4 connector but it is throwing below error.
I am able to connect to the database through MongoDB Compass.
Any help with this?
Thanks in advance
I was facing this issue. I could resolve this by upgrading the Mongo DB connector of Mulesoft to version 6.3.0, which takes connection string.
This takes DNS, no need to provide multiple server names & port

Pentaho MongoDB Atlas connection issue

I’m trying to connect Pentaho PDI (CE) to mongoDB hosted by Atlas, but getting an error, complaining about the host name I believe.
All examples on the internet is for connecting pentaho with mongodb with host = localhost; somehow when I pass the Atlas hostname it doesn’t seem to resolve.
Anyone been able to connect pentaho to a mongodb atlas cluster that could help me please?
Oh, I’m able to connect via compass and via command line.
Any idea on what I may be doing wrong?
Thank you!