MySQL Cluster 7.0: careful with ndb_mgmd and —configdir

Using MySQL Cluster 7.0, if you start the management node it will write a binary, cached version of the configuration. The default location is (currently) a bit tricky, if you compile yourself, you'll find it in: <BASEDIR>/mysql-cluster.
Make sure to specify everytime the --configdir option when starting the ndb_mgmd.
shell> ndb_mgmd -f config.ini --configdir=/path/to/cachedir

I'm using the same value as Datadir for the --configdir option.
An elegant solution it is not, IMHO. Maybe it's good to make your own ndb_mgmd_safe?

PlanetMySQL Voting: Vote UP / Vote DOWN

Comments are closed.