aspose file tools*
The moose likes JDBC and the fly likes Access -> mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Access -> mysql" Watch "Access -> mysql" New topic
Author

Access -> mysql

Martin Schneider
Ranch Hand

Joined: May 16, 2002
Posts: 42
Hi there,
I want to switch from access to mysql but I don't know how to do it :| I'd be really grateful if someone could explain me step by step how to perform this task. Right now Im using "dnsless-connection" and that is the way it should be with mysql.

[ August 01, 2002: Message edited by: Martin Schneider ]
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
The java code you should change is really short. Once you have download the JDBC package ( available from http://www.mysql.com/downloads/contrib.html )and put it in your classpath, just change the driver you are loading:
Class.forName("org.gjt.mm.mysql.Driver");
And of course set the apropiate connection url/port/user/pass.
About the features of MySQL you should check www.mysql.com, because maybe there are not implemented some options (ResultSet features,...)
-HTH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access -> mysql