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: | |
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
[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.