Bug #26797 Installing new service has incorrect file paths
Submitted: 2 Mar 2007 15:29 Modified: 10 Feb 2009 14:37
Reporter: marc castrovinci (Basic Quality Contributor) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.10 OS:Windows (XP PRO SP2)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: administrator, config, file, filename, incorrect, install, path, qc

[2 Mar 2007 15:29] marc castrovinci
Description:
When you go to install a new service using the MySQL Administrator, incorrect paths are specified for "Config Filename" and "Path to binary".

Config Filename is - C:\Program Files\MySQL\MySQL Tools for 5.0\MySQL Server 5.1\my.ini

Path to binary is - C:\Program Files\MySQL\MySQL Tools for 5.0\MySQL Server 5.1\bin\mysqld

While this may not seem big, it should atleast point to the default installation location. This isn't even server 5.1, it is 5.0.27. 

How to repeat:
Open the MySQL System Tray Monitor. 

Click the icon, and select "Actions - Manage MySQL Instances".

Right click under "Installed Services" and select "Install New Service"

Look at the Config File name and Path to binary locations.
[4 Mar 2007 14:29] Valeriy Kravchuk
Thank you for a bug report. Verified just as described.
[10 Feb 2009 14:37] Mike Lischke
The way it works now is by intention. The MySQL binaries have been renamed at least two times (*-opt, *-debug, *-nt) and it would require some wild guessing if MA had to predict which binary to be used for certain settings. So what it does is giving suggestions, but the final word has the user and he is responsible to adjust the suggested file names to correspond to real ones. This is particularly important if you are about to install a new service but have already a number of servers installed.