Bug #95432 | MySQL shell installer removed everything else from PATH env var | ||
---|---|---|---|
Submitted: | 20 May 2019 14:17 | Modified: | 3 Sep 2019 18:04 |
Reporter: | Nicholas Chapman | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Shell General / Core Client | Severity: | S2 (Serious) |
Version: | OS: | Windows | |
Assigned to: | CPU Architecture: | Any |
[20 May 2019 14:17]
Nicholas Chapman
[20 May 2019 15:52]
MySQL Verification Team
Thank you for the bug report. I couldn't repeat this issue on Windows 10 Pro, please provide the exactly Windows OS you use, the exactly step by step of the install process you applied. Thanks in advance.
[3 Jun 2019 17:17]
Romulo Rodrigues
Hi, I faced this same issue, MySQL installer replaces the whole PATH env var string with "C:\Program Files\MySQL\MySQL Shell 8.0\bin\". OS: Windows 10 1809 17763.503 (PT-BR) using the offline MySQL Community installer 8.0.16.0 from https://cdn.mysql.com//Downloads/MySQLInstaller/mysql-installer-community-8.0.16.0.msi The installer log ending part has this: DoStep Action 12:22:39: WriteEnvironmentStrings. Updating environment strings Step: 13200 Position: 103299872 Name: PATH, Value: C:\Program Files\MySQL\MySQL Shell 8.0\bin\, Action 1 DoStep
[21 Jun 2019 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[28 Jun 2019 17:27]
Jose Ramirez Ruiz
Verified this behavior in MySQL Shell 8.0.16. To reproduce it simply complete a Shell installation either via the MySQL Installer or by directly executing MySQL Shell's MSI. Once the installation completes the PATH User Environment Variable only retains the data related to MySQL Shell.
[23 Aug 2019 10:45]
Nicholas Chapman
Just installed mysql-installer-community-8.0.17.0.1, to upgrade my previous installation. It once again deleted the contents of my PATH variable. Luckily I was smart enough to back it up this time before i Ran the installer. Come on guys, sort your sh*t out.
[3 Sep 2019 18:04]
Margaret Fisher
Posted by developer: Changelog entry added for MySQL Shell 8.0.18: Due to a bug introduced by a change in MySQL Shell 8.0.16, the MSI file that is used by Windows Installer to install MySQL Shell overwrote the Windows PATH environment variable with the path to the application binary (mysqlsh), removing any other paths present. The issue has now been fixed.