aspose file tools*
The moose likes JDBC and the fly likes downloading mysql-connector-java-3.1.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "downloading mysql-connector-java-3.1.8" Watch "downloading mysql-connector-java-3.1.8" New topic
Author

downloading mysql-connector-java-3.1.8

Marco Vanoli
Ranch Hand

Joined: Jan 12, 2005
Posts: 99
Why there are 2 jars

(mysql-connector-java-3.1.8-bin.jar
&
mysql-connector-java-3.1.8-bin-g.jar)

, wich to use?
[ August 12, 2005: Message edited by: Bear Bibeault ]

bye, <br />Marco
Kerry Wilson
Ranch Hand

Joined: Oct 29, 2003
Posts: 254
Looks like connector-g.jar contains a package ( com.mysql.jdbc.trace ) that is not in the other, not sure what it is for, possibly debugging connector source. Probably just use the other one, without the -g.


http://www.goodercode.com
SCJP 1.4
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

Yup, I am also just guessing here but, the one with 'g' probabely produces more log output to help with debugging and is good for development, and the other one should be used for deployment.
Cheers.


The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

From the MySQL Docs...

MySQL Connector/J is distributed as a .zip or .tar.gz archive containing the sources, the class files a class-file only "binary" .jar archive named "mysql-connector-java-[version]-bin.jar", and starting with Connector/J 3.1.8 a "debug" build of the driver in a file named "mysql-connector-java-[version]-bin-g.jar".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: downloading mysql-connector-java-3.1.8