Bug #77891 Unable to install MySql JDBC driver on Windows 7
Submitted: 30 Jul 2015 17:22 Modified: 16 May 2016 14:26
Reporter: Glenn Caccia Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:5.1.36 OS:Windows (64bit)
Assigned to: CPU Architecture:Any

[30 Jul 2015 17:22] Glenn Caccia
Description:
1. Download Connector / J MSI installer for Windows.
2. Run installer

Installer starts but then disappears and nothing happens.  Driver is not installed.  When I check running processes, I see the process for msiexec.exe is running, but there is no UI to interact with it.  I tried rebooting my computer and running installer again with same problem.  I tried using a different Windows computer and running installer and encountered the same problem.

How to repeat:
1. Download Connector / J MSI installer for Windows.
2. Run installer
[30 Jul 2015 17:46] Todd Farmer
Hi Glenn,

Thanks for the bug report.  

I've recommended previously that Windows Installer *not* offer to install Connector/Java because it's not entirely clear what a successful "install" looks like.  Unlike MySQL Server, or Workbench, or other products, a Java driver library "installation" is something that has to be coordinated with the Java application or deployment environment.  To me, it's far easier and more appropriate to download the stand-alone JAR package and put it where it needs to go for my Java application.

If you have other ideas on what an installer should do to "install" Connector/Java, please let us know.  Otherwise somebody might listen to me and remove Connector/Java from the installer.  ;)
[30 Jul 2015 17:49] Glenn Caccia
All I needed was the stand-alone JAR package.  I needed the driver because I was going to use it in Oracle's SQL Developer tool, but due to this issue I downloaded and installed the MySQL Workbench tool instead.
[30 Jul 2015 17:55] Todd Farmer
Great - glad the stand-alone JAR meets your needs.  I'll leverage this bug report to try to eliminate routing users to try to install Connector/Java via the bundled installer.
[30 Jul 2015 18:28] Todd Farmer
Just by way of documentation for all who are similarly affected, the best way to install Connector/Java is via the "platform independent" standalone JAR package.  This can be found here:

http://dev.mysql.com/downloads/connector/j/

Depending on your detected OS, you may need to select the "Platform Independent" option in the "Platform" drop-down list, which will reveal .ZIP and .TAR.GZ packages containing the JAR package.  This JAR file can then be deployed as required for the Java application/environment.
[12 May 2016 17:55] Javier Rivera Zavala
This bug has been reassigned to connector J since it is a bug with their Windows MSI.
[16 May 2016 14:26] Filipe Silva
Connector/J driver is no longer being distributed as a standalone msi installer. The recommended installation procedure, as already referred, is by using the platform independent bundle, either .tar.gz or .zip.

Even for those who still have hands on an older msi installer, it should work as expected. It simply extracts the contents of the above bundle into the sub-directory 'MySQL\MySQL Connector J' inside %ProgramFiles% or %ProgramFiles(x86)% system directory. Latest installer was verified to working fine.