Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install MySQL JDBC driver msi

Tags:

mysql

jdbc

I have downloaded the JDBC driver for MySQL "mysql-connector-java-gpl-5.1.26.msi" from http://dev.mysql.com/downloads/connector/j/. But i can't figure out how to use it. The documentation at http://dev.mysql.com/doc/refman/5.6/en/connector-j-binary-installation.html says it is a zip file which has the required jar file. But what i got is a .msi file. When i execute the msi file it just starts installing and disappears. Any ideas how i can get the jar file from the msi?

like image 600
faizal Avatar asked Sep 19 '13 12:09

faizal


People also ask

Where does JDBC driver install MySQL?

Installing the JDBC Driver for MySQL Databases jar file among the files that were installed. For example, on Windows: C:\Program Files (x86)\MySQL\MySQL Connector J\mysql-connector-java-5.1. 30-bin.

What is the JDBC driver for MySQL?

MySQL Connector/J is the official JDBC driver for MySQL. MySQL Connector/J 8.0 is compatible with all MySQL versions starting with MySQL 5.6. Additionally, MySQL Connector/J 8.0 supports the new X DevAPI for development with MySQL Server 8.0.


1 Answers

The msi installation places the file at C:\Program Files\MySQL\MySQL Connector J\mysql-connector-java-5.1.26-bin.jar.

You can also download the platform independent zip file and extract the jar file whereever you want.

like image 80
James Allman Avatar answered Sep 21 '22 13:09

James Allman