We've got a MarkLogic server running on CentOS with an ODBC endpoint defined. When I attempt to connect to it via Power BI with ODBC, I get the error below.
I've got a similar MarkLogic server running locally, and I don't have any issues connecting via ODBC.
Notes:
There's nothing in the 8052_ErrorLog.txt, however, in the 8052_AccessLog.txt I see this:
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] init
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] password
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] query
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] query
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] query
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] query
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] query
192.168.21.34 - nickh [23/Mar/2017:09:43:36 -0400] terminate
An ODBC driver uses the Open Database Connectivity (ODBC) interface by Microsoft that allows applications to access data in database management systems (DBMS) using SQL as a standard for accessing the data. ODBC permits maximum interoperability, which means a single application can access different DBMS.
The Microsoft Open Database Connectivity (ODBC) interface is a C programming language interface that makes it possible for applications to access data from a variety of database management systems (DBMSs).
Not a terribly satisfying answer, but this appears to be a known issue with MarkLogic 9ea running on CentOS. According to the MarkLogic support forums:
Thanks for looking further into this problem. It looks like you’re running into a bug that we discovered and fixed recently – so this ought to work in 9.0-1.
John
https://ea.marklogic.com/forums/topic/odbc-connection-from-excel-doesnt-work/#post-3031 (link requires MarkLogic EA access)
Issue is reported to be fixed for the production release which is expected around May.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With