[unixODBC-support] JDBC to ODBC connection failing

Nick Gorham nick.gorham at easysoft.com
Wed Feb 28 19:55:27 GMT 2007


Nicholas Campion wrote:

> I am writing an application using java that will need to connect to 
> MySQL through ODBC.  I have the connection between ODBC and MySQL 
> working correctly.  I can login and manipulate the database through 
> isql.  However, when i try and use JDBC to connect to unixODBC, I get 
> repeated failures.

What happens of you specify a DSN that doesn't exist?

What do you get if you turn on unixODBC tracing?

odbcinst.ini

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log

-- 
Nick



More information about the unixODBC-support mailing list