This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access driver on linux/unix?

 
Bing Lu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anyway that I can access a microsoft access database
on linux or unix box?
thanks
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I dont think there is any mecanism by which u can connect to Access database on Linux system . What you can do is, you can install mysql as the database on the linux machine(which is freely available on th net) and work with it.
DriverManager.registerDriver(new Driver());
String s = "jdbc:mysql://hostname ort/databasename";
Class.forName("org.gjt.mm.mysql.Driver");//this is the driver name
con = DriverManager.getConnection(s);

------------------
Sandeep Jain
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic