Bug #33456 ndb_mgmd should read /etc/mysql/config.ini first in 5.1 and later
Submitted: 21 Dec 2007 14:12 Modified: 21 Dec 2007 14:58
Reporter: Geert Vanderkelen Email Updates:
Status: Verified Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S4 (Feature request)
Version:mysql-5.1 OS:Any
Assigned to: CPU Architecture:Any

[21 Dec 2007 14:12] Geert Vanderkelen
Currently ndb_mgmd does read /etc/config.ini as default configuration file for starting up MySQL Cluster. It would be nice, and good, if ndb_mgmd would read /etc/mysql/config.ini first, and then /etc/config.ini to keep backward compatibility.
This is in line of the change in MySQL 5.1 where the clients and mysqld reads /etc/mysql/my.cnf first.


How to repeat:
Start ndb_mgmd without /etc/config.ini, but /etc/mysql/config.ini. The file is not read.

Suggested fix:
- Read /etc/mysql/config.ini, then proceed with the current default locations

- Work around is to use the --config-file option in the my.cnf:
   config_file = /etc/mysql/config.ini