Bug #10171 my.cnf ignored on server startup

Submitted: 26 Apr 2005 11:20 Modified: 26 May 2005 13:23
Reporter: Michael Doherty Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.0.1 OS:Windows (Windows NT4)
Assigned to: CPU Architecture:Any

[26 Apr 2005 11:20] Michael Doherty
Description:
Just installed version 5 on Windows NT system.
Tried to point MySQL to a different drive for the databases I have, so edited the datadir parameter in my.cnf.
No Joy - it appears this was being ignored completely. 

How to repeat:
Install MySQL 5 fresh on an NT4 system

Suggested fix:
Go into registry editor (regedit) and go to:

HKLM\System\CurrentControlSet\Services\MySQL.

and look to the imagepath key.  It should read something like:

C:\mysql\bin\mysqld-nt --defaults-file=C:\mysql\my.cnf MySQL

The default entry was:

C:\mysql\bin\mysqld-nt MySQL

thereby ignoring the ini file.
[26 Apr 2005 13:23] MySQL Verification Team
Are you using the version 5.0.1 ? I recommend you to upgrade to
version 5.0.4 and no to edit the Windows registry for to resolve
issues like this. 
The below image path:

C:\mysql\bin\mysqld-nt MySQL

belongs to the normal service install e.g: mysqld-nt --install
please read the Manual how to install a service for to use
an option configuration file.
[26 May 2005 23: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".

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.