[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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkpcXEcACgkQYH1+F2Rqwn1NsACfV5E4Q6KBrd1+AUIBzwMdnpIH wvQAnR7ytehmo3OffS9s3ASBLFaNGsgd =BJJ+ -----END PGP SIGNATURE-----
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;". -- Sjoerd Mullender
participants (3)
-
Chebbi, Pavan
-
Sjoerd Mullender
-
Stefan de Konink