Bug #42399 Mysql Admin conflict with hMailServerMySQL
Submitted: 28 Jan 2009 0:09 Modified: 11 Feb 2009 10:59
Reporter: Matthew Allen Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.2.12 OS:Windows
Assigned to: Mike Lischke CPU Architecture:Any
Tags: hMailServer

[28 Jan 2009 0:09] Matthew Allen
Description:
I installed Mysql and the GUI admin tool and configured it for my local websites. That all worked fine. Some time later I installed hMailServer which in turn creates the hMailServerMySQL service. So now I have 2 mysql services running on my machine. However the hMailServerMySQL service is installed with a malformed path in the ImageName key under:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hMailServerMySQL

has the value:
"C:\Program Files\hMailServer\MySQL\Bin\mysqld-nt.exe" "--defaults-file=C:\Program Files\hMailServer\MySQL\my.INI" hMailServerMySQL

Where the quote is in the wrong place...

However mysql gui admin tool chokes on this and gives you a "Either the server service or the configuration file could not be found. Startup variables and service section are therefore disabled." error, even when you try and connect to the other service. It should be able to recover from the malformed path and continue searching the other services.

How to repeat:
Install Mysql and the admin tool.

Install a 2nd mysql service and mung the --defaults-file parameter with a quote in the wrong spot.

Try and connect with mysql admin to the first service.

Suggested fix:
Make the searching for ini files more robust.
[28 Jan 2009 0:49] MySQL Verification Team
Thank you for the bug report. Looks like related to same issue as bug: http://bugs.mysql.com/bug.php?id=42191. Thanks in advance.
[11 Feb 2009 10:59] Mike Lischke
Cannot fix this as described in Bug #42191