Bug #8727 5.0 does not read <datadir>/my.cnf

Submitted: 23 Feb 2005 12:33 Modified: 8 Mar 2005 9:50
Reporter: Alexander Keremidarski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version: OS:Linux (Linux)
Assigned to: Jani Tolonen CPU Architecture:Any

[23 Feb 2005 12:33] Alexander Keremidarski
Description:
The recent 5.0 from BK tree 

ChangeSet@1.1880, 2005-02-22 21:59:42+03:00, sergefp@mysql.com
BUILD/compile-pentium-debug-max

does not read <datadir>/my.cnf regardles of the way it is started. It doesn't mention it with --help -verbose too

# ./mysqld --help --verbose | grep -B1 my.cnf
Default options are read from the following files in the given order:
/etc/my.cnf ~/.my.cnf

How to repeat:
Build, install and try running mysqld with my.cnf in datadir

# ./mysqld --help --verbose | grep -B1 my.cnf
Default options are read from the following files in the given order:
/etc/my.cnf ~/.my.cnf
[8 Mar 2005 9:50] Jani Tolonen
Updated MySQL manual about the change. One should use MYSQL_HOME environment
variable to set the path to my.cnf optionally. Otherwise only the default places,
global /etc/my.cnf and local /etc/my.cnf are read. MYSQL_HOME should contain
optional server specific my.cnf.

mysqld_safe was fixed to be backward compatible. If MYSQL_HOME is not set,
it will look my.cnf from DATADIR and BASEDIR.

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

Page generated in 0.040 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.