Colin Foss wrote:
> I have been trying to test ODBC with MonetDB with
> little success.  JDBC and MapiClient are working.
> 
> MS*Excel, R, and other utilities all fail while trying
> to  initialize a connection via ODBC to MonetDB.
> 
> Does anyone have a valid ODBC configuration to Monet?

I am assuming you're trying this on Windows.
I just tried MonetDB4-SQL-2.16.2.msi and MonetDB5-SQL-2.16.2.msi on a
clean 32 bit Windows XP Professional, and I had no problems.

Perhaps you can define your environment a bit more completely?

A few things to check/keep in mind:

The uninstall isn't robust.  If the MonetDB ODBC driver is still somehow
active during uninstall, some files remain in C:\windows\system32 which
may then not be replaced on a subsequent install.  Check whether the
files libMapi.dll libMonetODBC.dll libMonetODBCs.dll libmutils.dll
libstream.dll (in my installation, that's all files matching the pattern
lib*.dll in C:\windows\system32) are identical to the files in your
installation folder (typically C:\Program Files\CWI\MonetDB*\lib) are
identical, and if not, copy the ones from the installation folder over
the ones in C:\windows\system32.

Windows programs tend to not follow standards.  I have encountered many
programs (among them Excel) that produce SQL queries that MonetDB
refuses.  Typically the error is General Error, i.e. useless.  The
problem is usually column names that are the same as SQL keywords and
that are not surrounded by double quotes.

You can produce debug output by setting an environment variable in the
environment of the program using the ODBC driver (e.g. Excel).  The
variable name is ODBCDEBUG and the value should be the full path name of
a file.  This file will contain the debug output.  Basically all calls
to the driver will be logged there.

-- 
Sjoerd Mullender

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MonetDB-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to