Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mySQL jar name and location

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

like image 886
user234194 Avatar asked Oct 21 '25 03:10

user234194


1 Answers

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

like image 199
dcp Avatar answered Oct 23 '25 17:10

dcp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!