I wanted to know, What jars do I need to have to connect to MySQL, and Where can I download it?
I googled it but there are so many of’em. Can somebody tell me what class DO I need to use.?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need the mysql-connector-java-5.1.6-bin.jar (or if you want some other version, you can download that). Here is where to find them:
http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.6.tar.gz/from/pick?file=Downloads/Connector-J/mysql-connector-java-5.1.6.tar.gz&mirror=pick
For an example of how to connect using
mysql, there are plenty of tutorials, here’s one to check out:http://www.stardeveloper.com/articles/display.html?article=2003090401&page=1