Bug #2365 Write default my.ini to windows dir
Submitted: 12 Jan 2004 15:57 Modified: 2 Sep 2007 18:07
Reporter: Olaf van der Spek (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S4 (Feature request)
Version:4.0.17 OS:Microsoft Windows (Windows XP)
Assigned to: CPU Architecture:Any
Tags: qc

[12 Jan 2004 15:57] Olaf van der Spek
Description:
When you install MySQL to another dir than c:\mysql\, you have to use my.ini to specify this alternative location. It'd be much easier if the executable determined it's own location if a ini file isn't present or if the installer writes a default ini file (not as good).

How to repeat:
Install MySQL.
Try to start it without my.ini

Suggested fix:
Let the installer write a default my.ini.
[19 Jun 2004 9:39] Dean Goddard
Although updating the basedir and datadir setting is well documented, I agree that it would be nice if the installer:
 - knows whether the %windir%\my.ini file existed,
 - then if the installation directory is different, confirm that the changes be made to the %windir%\my.ini.

My 5 cents worth.
[12 Apr 2007 10:44] Sveta Smirnova
Thank you for the report.

Currently mysqld searches for my.ini file in C:\, then C:\Windows, C:\install_dir. Is it satisfy you?
[12 Apr 2007 10:47] Olaf van der Spek
Yes, I think this is no longer an issue with the current installer.
[2 Sep 2007 18:07] Valeriy Kravchuk
So, this feature is not needed any more.