Bug #95246 Serious bug!!! Related to PATH environment variable on Windows 10
Submitted: 4 May 2019 10:08 Modified: 25 Jul 2019 15:39
Reporter: Nilesh Gawai Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:8.0.16, 8.0.17 OS:Microsoft Windows (Microsoft Windows 10 Home Single Language)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[4 May 2019 10:08] Nilesh Gawai
Description:
----[For better reports, please attach the log file after submitting. You can find it in C:\Users\Oceanic\AppData\Roaming\MySQL\Workbench\log\wb.log]

1> MYSQL INSTALLER DELETES VALUES OF EXISTING %PATH% ENVIRONMENT VARIABLE WHILE INSTALLING MYSQL SHELL.

2> I'AM UNABLE TO USE OTHER INSTALLED PROGRAMS AND SERVICES THAT DEPEND ON %PATH%.

How to repeat:
TRY INSTALLING MYSQL -V 8.0.16

AFTER SECCESSFULL INSTALLATION, YOUR %PATH% "USER" [NOT SYSTEM VARIABLE] ENVIRONMENT VARIABLE IS RESET. ALL EXISTING VALUES ARE DELETED.

CONSIDER THIS AS BUG. 

Suggested fix:
YOU HAVE TO MANUALLY ADD ALL VALUES TO %PATH%. IN SOME CASES WE DON'T KNOW WHAT PROGRAMS AND SERVICES HAVE ALTERED OUR PATH VARIABLE AND WHAT THE VALUES ARE. SO THE PROGRAMS WOULD NOT WORK AS EXPECTED OR AT ALL.
[4 May 2019 18:02] MySQL Verification Team
Hello Nilesh,

Thank you for the report and feedback.

regards,
Umesh
[4 May 2019 18:05] MySQL Verification Team
- This is even observed on Win7 with MySQL Installer
- PATH variable value of "User variable for <user>" are replaced by "C:\Program Files\MySQL\MySQL Shell 8.0\bin\" and existing entries are lost
[25 Jul 2019 15:39] Nilesh Gawai
Is there anyone who can help?
Again, while upgrading MySQL Server to v8.0.17 my PATH values are lost.
Shame to you Oracle! Bugs in setting PATH??? Shame on youuuuu!!!
If this isn't get fixed, I will be the first to discontinue using MySQL.
[8 Aug 2019 7:12] MySQL Verification Team
Bug #96462 marked as duplicate of this one
[14 Oct 2019 13:54] Konrad Olesinski
Posted by developer:
 
Duplicate of BUG#29972020
[2 Apr 7:34] Jake Kemple
This has occurred on Windows 7 for me. 

Seemingly, another side affect is that the variable value field (or any newly created user environment variable value) is truncated, preventing me from pasting back in the existing value from before the bug. I now suspect problems with my registry.

If this is actually the case, this is a very serious bug