Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

downloading mysql-connector-java-3.1.8

 
Marco Vanoli
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic