Bug #67999 Upgrade to version 5.6.10 changes installation drive
Submitted: 31 Dec 2012 16:43 Modified: 1 Aug 2014 6:11
Reporter: Anthony Marston Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S1 (Critical)
Version:5.6.17 OS:Windows (Windows 7 64 bit)
Assigned to: CPU Architecture:Any

[31 Dec 2012 16:43] Anthony Marston
Description:
I had version 5.5.29 software installed in "E:\Program Files\MySQL" but after upgrading to 5.5.29 this changed to "C\Program Files\MySQL". This meant the instance could not be started as it was looking on the "E" drive.

When upgrading an existing installation *NOTHING* should be moved.

How to repeat:
Install 5.5.28 on the "E" drive of a Windows 7 64 bit PC. Run the installer to upgrade to 5.5.29. The software has now been moved from the "E" drive to the "C" drive.
[31 Dec 2012 18:16] MySQL Verification Team
Which MySQL version was upgraded?. "I had version 5.5.29 software installed " and upgraded with 5.5.29?. Thanks.
[31 Dec 2012 18:19] Anthony Marston
I meant to say that I was upgrading from 5.5.28 to 5.5.29
[23 Jan 2013 23:37] MySQL Verification Team
Thank you for the feedback. Which 5.5.29 have you used the Installer with all MySQL Products or the server alone? ( I was not able to repeat the issue with the alone server package). Thanks.
[10 Feb 2013 19:52] Anthony Marston
I have version 5.5.30 installed with the programs in "E:\Program Files\MySQL\MySQL Server 5.5" and the data in "F:\MySQL\data". I tried to upgrade to 5.6.10 using the MySQL Installer, but it NEVER gave me the opportunity to choose the installation locations. Consequently it installed eveything on my "C:" drive, a situation WHICH I DO NOT WANT!!!!

Unless you can give me the ability to install the files in a location of *MY* choosing I simply cannot use your software.
[22 Feb 2013 9:55] Jigar Dhulla
Hi,

You can use a zip installer instead. Extract it where you have your current installation. Keep a copy of data folder first.

Also refer this :
http://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html
[22 Feb 2013 10:18] Anthony Marston
When are you going to fix the problem with the installation path?
[21 Apr 2013 9:15] Anthony Marston
This problem still exists in version 5.6.11 of the installer. When are you going to fix it? Forcing everything to be installed on the C drive without giving me a choice is UNACCEPTABLE!!
[12 Jun 2013 20:43] Javier TreviƱo
This one looks like a duplicate of http://bugs.mysql.com/bug.php?id=67850
[13 Jun 2013 6:23] Anthony Marston
I don't think so. http://bugs.mysql.com/bug.php?id=67850 is concerned with the location of the data directory. This bug is concerned with the installation of the program directory which, unlike all previous installers from MySQL, does not offer the option to install the software on anything other than the 'C:' drive. I want to install the software on a drive of *MY* choice, and until I'm given that choice I won't install the software.
[2 Apr 2014 17:10] Clyde Zuber
5.6.16.0 was initially installed.  I was notified update was available.  Process moved "D:\Program Files\MySQL\MySQL Server 5.6" directory to the C: drive.  Fortunately it did not make changes to the Windows registry, so it was a simple matter of physically moving the directory back to where I installed it.
[3 Apr 2014 8:12] Anthony Marston
Checking the Windows registry after the software has been installed is non-intuitive and not something that I should be required to do. I repeat, the stupid installer should do what *ALL* installers are supposed to do and aske me where I would like to install the software instead of deciding for itself. In addition, any upgrade should *always* use the current path names and *never* switch them without issuing a warning.
[1 Aug 2014 6:11] Philip Olson
Fixed as of the upcoming MySQL Installer for Windows 1.4.0 release, and here's the changelog entry:

Sometimes the upgrade process would modify the installation path of the
MySQL server.

Thank you for the bug report.