File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Connector/j and MySql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connector/j and MySql" Watch "Connector/j and MySql" New topic

Connector/j and MySql

Leonardo Go

Joined: Jun 13, 2004
Posts: 13
I have connector/j and i want to use it to connect to my mysql database.
my question is how and where do i extract the files inside the connector/ that ive downloaded from the net ??? i has a lot of files in it but i dont know which goes where..


Problems are made to be solved.
Masoud Kalali
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

if you got source archive
then you should make it by using ant
and if you get binary archive then it should contain a
Jar file like mysql-connector-java-3.0.7-stable-bin.jar
add it to your classpath
and then look at samples which are available in zip archive.
I hope it helps.

Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
I agree. Here's the link:
subject: Connector/j and MySql
It's not a secret anymore!