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

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

This widget could not be displayed.
  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")

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

This widget could not be displayed.

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?

This widget could not be displayed.

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

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.

This widget could not be displayed.

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


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.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

111 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you