Bug #69061 Installation path changed after upgrade connectors.
Submitted: 25 Apr 2013 4:09 Modified: 12 Jul 2013 16:23
Reporter: muklee lee Email Updates:
Status: Closed Impact on me:
Category:MySQL for Windows: Installer Severity:S3 (Non-critical)
Version: OS:Windows (Windows 2008 R2)
Assigned to: CPU Architecture:Any
Tags: mysql installer

[25 Apr 2013 4:09] muklee lee
During installation (MySQL 5.6.10), the installation and data path were changed to E:\ drive. Installation completed successfully and MySQL is installed in the desired location.

Real problem comes when trying to upgrade connectors to latest version using MySQL Installer. During the upgrade, it removed all the connectors folders/files in E:\ drive and copied the files into location C:\Program Files\MySQL\. Installation completed with no error pop-up.

How to repeat:
How to repeat:
Download installer 'mysql-installer-community-' and installs into Windows Server 2008 R2. During the installation:

1. Check the option 'Skip the check for updates (not recommended)' and continue.
2. Select custom installation.
3. Change the installation and data path to other drive (e.g: E:\software\).
4. Continue and install MySQL as Windows services.

After installation complete, MySQL will be installed in location E:\software. Perform update using MySQL Installer.

1. Go to 'Start' --> All Programs --> MySQL --> MySQL Installer.
2. After MySQL Installer started, click on 'Check for Updates'.
3. Select upgrades/updates for connector(s) only (do not upgrade MySQL and continue.

No error will appear during the upgrade. After installation completed, check the  installation location, which has been changed to C:\Program Files\MySQL.
[25 Apr 2013 12:30] MySQL Verification Team
Thank you for the bug report.
[12 Jul 2013 16:23] Philip Olson
Fixed as of the upcoming MySQL Installer 1.3.2, and here's the changelog entry:

The upgrade process would replace a custom installation path with the
default path. The installation directory is now stored in the registry,
and is passed to the Installer during an upgrade.

Thank you for the bug report.