This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Mysql Connector/J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Mysql Connector/J" Watch "Mysql Connector/J" New topic
Author

Mysql Connector/J

yogendra mishra
Greenhorn

Joined: Sep 17, 2010
Posts: 12
Guys could you please tell me which Mysql connector/J should be used with Tomcat 5.5.31 and MySQL Server 5.1 and Jdk 1.6.I have Downloaded mysql-connector-java-5.1.14 would it work with above versions of Mysql and java.
Gaurav Sagar
Ranch Hand

Joined: Sep 08, 2010
Posts: 97

yogendra mishra wrote:Guys could you please tell me which Mysql connector/J should be used with Tomcat 5.5.31 and MySQL Server 5.1 and Jdk 1.6.I have Downloaded mysql-connector-java-5.1.14 would it work with above versions of Mysql and java.


I have used mysql-connector-java-5.1.6-bin.jar and it works fine. Give it a try.

Regards,
Gaurav


SCJP 1.6(91%), SCWCD 1.5(100%), SCBCD in progress
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

It should be compatible with the MySQL server you are using, check with the table here.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Mysql Connector/J
 
Similar Threads
Mysql-Jar file
MySQL query and JDBC using "LIMIT"
com.mysql.jdbc.Driver
JDBC connection error
Connecting with MySql