[Monetdb-developers] Connection string for ODBC
HI,
Could anybody give me a connection string to use with ODBC DSN ?
I am not able to connect even after I installed and configured ODBC driver.
Thanks,
Pavan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Chebbi, Pavan wrote:
Could anybody give me a connection string to use with ODBC DSN ?
My odbc.ini
[MondrianFoodMart] Description = Test Driver = MonetDB Database = demo Servername = localhost Username = monetdb Password = monetdb Port = 50000 ReadOnly = No Trace = Yes TraceFile = /tmp/mondrian.log ForceTrace = Yes
My odbcinst.ini
[MonetDB] Description = MonetDB driver Driver = /opt/monetdb/lib/libMonetODBC.so.1.28.1 Setup = /opt/monetdb/lib/libMonetODBCs.so.1.28.1 UsageCount = 1
Stefan
Chebbi, Pavan wrote:
HI,
Could anybody give me a connection string to use with ODBC DSN ?
I am not able to connect even after I installed and configured ODBC driver.
You could try to use a call to SQLDriverConnect with a connection string like this: "DSN=MonetDB;HOST=localhost;PORT=50000;".
participants (3)
-
Chebbi, Pavan
-
Sjoerd Mullender
-
Stefan de Konink