7
$\begingroup$

I cannot open a SQLConnection to a SQL vectorwise database and I assume the JDBC driver is the problem. A JAR file was provided to me - the only info additionally provided to me was the java class: com.ingres.jdbc.IngresDriver

What would I have to do to add it to the JDBCDrivers that Mathematica can use?

Hope this is sufficient information - please let me know, if more information is required.

Thanks and regards Patrick

$\endgroup$
5
$\begingroup$

Finally found the answer on how to connect MM to Actian vectorwise via SQL :)

Needs["JLink`"]
AddToClassPath["C:\\Users\\Desktop\\iijdbc.jar"];
Needs["DatabaseLink`"];

OpenSQLConnection[
 JDBC["com.ingres.jdbc.IngresDriver", 
  "jdbc:ingres://HOST:VW7/DATABASE;user=xxx;password=yyy"]]

Feeling good! Pat

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.