Home > Uncategorized > Running MySQL Cluster on Mac: working around a ndb_mgmd bug

Running MySQL Cluster on Mac: working around a ndb_mgmd bug

November 25th, 2009 Leave a comment Go to comments

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!

Tags: , ,
  1. Johan Andersson
    November 26th, 2009 at 21:26 | #1

    Funny, I have never noticed this problem.

    I run MySQL Cluster with ndb_mgmd in daemon mode using my sandboxes!

  2. Johan Andersson
    November 26th, 2009 at 21:27 | #2

    But OTOH, i think i disabled ipv6 for localhost…

  3. Kai Voigt
    December 1st, 2009 at 08:56 | #3

    Confirmed from me, without –nodaemon, cluster hangs, it doesn't even respond to ndb_mgm -e show, with –nodaemon, everything works as expected.

    Kai

  1. No trackbacks yet.