Regarding the JDBC connection to MySQL , where can I find the jar file

Omara Williams February 5, 2014

Regarding the JDBC connection to MySQL , where can I find the jar file?, in the link provided all there is is a msi file, and this installs teh connector but do not know whre teh jar file is

4 answers

1 accepted

1 vote
Answer accepted
Adrian Moerchen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2014
  1. Go to http://dev.mysql.com/downloads/connector/j/
  2. Select "Plattform Independent"
  3. Download tar.gz or zip (dependend on your plattform)
  4. Extract the archive
  5. Locate the JDBC file within the extracted folder

or

  1. Go to http://mvnrepository.com/artifact/mysql/mysql-connector-java
  2. Choose your desired version
  3. Download just the jar ("Binary")
Omara Williams February 12, 2014

Thank you Adrian, Thease are the correct instructions, so , if you select "Platform independent", you get the archive but if you leave as default "Windows", then you get an installer. In either case, the jar file is retrieved

0 votes
Omara Williams February 6, 2014

OK, Starting from this link:

https://confluence.atlassian.com/display/JIRA061/Connecting+JIRA+to+MySQL

In step 2 : Copy the MySQL JDBC driver to your application server

Get the MySQL driver:

You can download either the .tar.gz or the .zip file. Extract the jar for the driver (e.g. mysql-connector-java-5.x.x-bin.jar) from the archive.

The above link Connector/J JDBC driver v5.1. takes you to the msi file :http://dev.mysql.com/downloads/connector/j

If the above are not the instructions I should be looking at , please advise

Anyway, after installing the connector with the msi, I can find the jar file refered to in these instructions


Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 6, 2014

Er, no, the link takes you to a page where you have to select whether you want the .tar.gz / zip file that is mentioned in the segment you've quoted, or an msi.

It might be better if the instructions explicitly said "select" instead of "you can" though. That page has changed slightly since I last needed it.

0 votes
Omara Williams February 5, 2014

OK, I have found it , I wast looking for mysql-connector-java-5.1.2.9-bin.jar. In the JIRA instructions, it says it is contained in a zip file, but now when yoiu go to the download link, it only offers a msi installer , which isntalls it here:

C:\Program Files (x86)\MySQL\MySQL Connector J

So the installation instructions needs updating

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2014

Hmm, I didn't have any problem with the link in the documentation for connecting Jira to MySQL - it links to a zip download for the jtds driver

I don't know if you're using jtds, and you might be looking at different instructions.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 5, 2014

I'm afraid your question doesn't make a lot of sense. What jar file are you looking for? What documentation are you using? What connector is it? How do you know it's "installed" and if it's working, why are you looking for this?

Suggest an answer

Log in or Sign up to answer