Running MySQL Cluster on Mac: working around a ndb_mgmd bug

A week ago we found a workaround for a bug in MySQL Cluster making it impossible to run a management node on MacOS X. Until the bug is fixed, you should use the --nodaemon option for the ndb_mgmd executable. Both MySQL Cluster v6.3 and v7.0 are affected.

Currently, I’m starting the management node like this:

(
    cd /opt/mysql/mysql;
    ./libexec/ndb_mgmd -f /opt/mysql/config.ini \
        --nodaemon 2>/dev/null 1>&2 </dev/null &
)

Obviously, you’ll want to change the paths.

Eventually, the bug will get fixed, but until then you got no excuse to not try MySQL Cluster on Mac!

Comments

Johan Andersson
Funny, I have never noticed this problem.

I run MySQL Cluster with ndb_mgmd in daemon mode using my sandboxes!
Johan Andersson
But OTOH, i think i disabled ipv6 for localhost…
Kai Voigt
Confirmed from me, without --nodaemon, cluster hangs, it doesn't even respond to ndb_mgm -e show, with --nodaemon, everything works as expected.

Kai