Bug #3141 Wrong default datadir
Submitted: 11 Mar 2004 7:58 Modified: 21 Jun 2004 14:19
Reporter: Stefan Hinz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S1 (Critical)
Version:1.0.0a OS:Windows (Windows 2000)
Assigned to: Michael G. Zinner CPU Architecture:Any

[11 Mar 2004 7:58] Stefan Hinz
Description:
In the Startup Variables section, General Parameters tab, MA displays base and data directories. While the basedir is read correctly from my.ini, the datadir is always c:/MySQL/data.
This is a problem especially when more than one server is running on the machine.

How to repeat:
Switch to configure-service mode and see what's displayed for "Data directory" for multiple servers.

Suggested fix:
Read datadir information from my.ini/my.cnf if available.
[11 Mar 2004 7:59] Stefan Hinz
Changed severity and priority.
[11 Mar 2004 8:46] Michael G. Zinner
Did you enable the option with the new icon?

It's true that the Data directory is set to an default value c:\mysql\data when the value is not explicitly set in the option file. But in that case the option is grayed out, showing that this value is not set in the option file yet.