Bug #96462 MySql installer destroys user PATH variable (Win10, installer 8.0.17.0)

Submitted: 8 Aug 2019 6:56 Modified: 8 Aug 2019 7:37
Reporter: Davyd McColl Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:8.0.17.0 OS:Windows (10)
Assigned to: CPU Architecture:Any

[8 Aug 2019 6:56] Davyd McColl
Description:
I recently installed MySql 8 in parallel to MySql 5.7 on my dev machine. After the installation was complete, a bunch of things which normally work from the console (such as Python, Ruby, GnuWin32, and many more) suddenly were "not found".

I tracked down the issue to the MySql installer _completely replacing_ my user %PATH% variable with "C:\Program Files\MySQL\MySQL Shell 8.0\bin\". On one hand, useful to have mysqlsh in my path -- on the other, _everything else_ was removed, which is pretty annoying considering the number of directories I add to my path to make functionality available at the console.

How to repeat:
Install MySql8. I can't be the only person this has happened to.

Suggested fix:
Append to the path. Don't overwrite it.
[8 Aug 2019 7:12] MySQL Verification Team
Hello Davyd McColl,

Thank you for the report and feedback.
Imho this is duplicate of Bug #95246, please see Bug #95246

regards,
Umesh
[8 Aug 2019 7:37] Davyd McColl
You are correct, this does look like a duplicate.

What's absolutely astonishing is that that bug has been open for 3 months, and still exists. This should not be a mission to fix -- it's even more desirable to simply not modify the path at all, than trash it, so there's a quick "better than it was".

3 months. SMH.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.