Bug #38777 mysql.server script does not allow for locating the my.cnf in non-default place
Submitted: 13 Aug 2008 18:53
Reporter: Kyle Joiner Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:5.0 OS:Linux
Assigned to: CPU Architecture:Any
Tags: mysql.server
Triage: Triaged: D5 (Feature request)

[13 Aug 2008 18:53] Kyle Joiner
Description:
When locating the my.cnf file in a directory that is not one of the default locations, the script requires changes to pass the correct information on to mysqld_safe.  

How to repeat:
Perform a binary installation.
Place the my.cnf file in a directory not searched by mysql.server.
[15 Aug 2008 0:10] Giuseppe Maxia
Can you specify how you would like to indicate to the mysql.server script the option file to consider? (e.g. command line parameter, environment variable, relative to the script location)

That will help evaluating if this feature could be implemented easily.
[19 Aug 2008 15:04] Kyle Joiner
If it had the option like basedir and datadir to allow editting the script and specifying the my.cnf would work well.