Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download Mysql jdbc jar file on centos

Sorry for my noobness. I'm very newbie in linux and using CentOS. I need to download Mysql jdbc and place it in somewhere. So I searched on Google and couldn't get any proper result. All results say that download it from http://dev.mysql.com/downloads/connector/j/5.1.html site or download rpm and install it. But I really don't know how to download it first.

like image 222
Odgiiv Avatar asked Apr 26 '14 08:04

Odgiiv


1 Answers

I finally figured it out. I just need to write this on the console

wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.30.tar.gz. -O /tmp/mysql-connector.tar.gz 

Then it downloads mysql-connector.tar.gz file in /tmp directory and to extract it I used this command:

tar -xvzf mysql-connector.tar.gz
like image 65
Odgiiv Avatar answered Oct 11 '22 07:10

Odgiiv