It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes JDBC-ODBC driver on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC-ODBC driver on Linux" Watch "JDBC-ODBC driver on Linux" New topic

JDBC-ODBC driver on Linux


Joined: Jun 23, 2000
Posts: 26
Hi Friends,
I'm working on a Linux platform and I need to connect
to a database using Type I, i.e., JDBC-ODBC Driver since I do
not have other drivers availble nor I wanna use them.
Now for making connection to a DB using JDBC ODBC, I'll need a
DSN. And the problem is that on Linux , I cant make DSN names, so whats the solution ???
Can anyone help ?
thanx in advance
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
When you use drivers, they are dependent of the database, let's assume you are using MySQL, I think it has the MySQL jdbc driver on the web site. As far as conneting to it, you use stnadard URL.
usr:// ort#
subject: JDBC-ODBC driver on Linux