Bug #58539 | MySQL 5.1 Windows Installer deletes path | ||
---|---|---|---|
Submitted: | 28 Nov 2010 12:21 | Modified: | 14 Dec 2011 13:22 |
Reporter: | Dan Kloke (Candidate Quality Contributor) | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
Version: | 5.1.53 | OS: | Windows (Vista Business SP2) |
Assigned to: | CPU Architecture: | Any | |
Tags: | install, path, qc, qc, regression, windows |
[28 Nov 2010 12:21]
Dan Kloke
[28 Nov 2010 12:41]
Peter Laursen
I have a comment (well .. two actually!) 1) If the installer replaces the path to ..mysql/bin with "c:\" in system PATH it is a serious issue. 2) But there is no reason why the MySQL server and other MySQL binaries should be in system PATH. The installer sets up the server with full paths to the server binary and defaults file. If user wants (for instance in order to run 'mysqldump' without first navigating to ..mysql/bin he can add himself. So in short the installer should *never* do anything related to system PATH at all in my opinion.
[28 Nov 2010 12:49]
Dan Kloke
Hi Peter, yes it's a serious issue.. even worse, the replace path is not "c:\" but "\". This means the root of whatever drive is currently the default (for the task) is exposed. As for the second part of your comment, again I agree; my "Suggested fix" is incorrect. The installer should NOT add the MySQL bin to the Windows path, nor alter the path in any way, including the removal of the MySQL bin if it is present. It occurs to me that the change in the path may be some default behavior of the MSI installer..?
[28 Nov 2010 12:53]
Peter Laursen
You will find lots of programs using the .MSI installer that do not touch system PATH. Here it does because the installer script has such code/instruction, I believe.
[22 Dec 2010 13:18]
MySQL Verification Team
You have upgraded from which MySQL server version?. Thanks in advance.
[22 Dec 2010 13:42]
Dan Kloke
The most recent upgrade was .52 - >.53.
[14 Nov 2011 12:48]
MySQL Verification Team
System Path 5.5
Attachment: system_var_path.png (image/png, text), 26.98 KiB.
[14 Nov 2011 12:50]
MySQL Verification Team
I couldn't repeat with 5.5.17 version (see prior attached picture). I will try 5.1.XX version thought.
[14 Nov 2011 13:22]
MySQL Verification Team
Thank you for the feedback. I couldn't repeat with 5.1.59 please try this version. Thanks.
[15 Dec 2011 7: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".