I'm trying to set up a basic Cluster on my Win7 PC for testing. But I am stuck at the first hurdle. I have installed the Management Node as a Service:
C:\MySQLCluster\ManagementNode1\bin\ndb_mgmd.exe --install --config-file=C:\MySQLCluster\ManagementNode1\config.ini
But when I try and start the service it instantly stops. Surely as the management node it should run as a service?
What else do I need to do?
I am trying to start it from the Services Window, but I just get
The MySQL Cluster Management Service on Local Computer Started and then stopped. Some Services Stop automatically if they are not in use by other services or programs
Alternatively from the command line:
NET START ndb_mgmd
The MySQL Cluster Management Server service is starting.
The MySQL Cluster Management Server service could not be started.
The service did not report an error.
Best Answer
DISCLAIMER : Not a CMCDBA, Not a MySQL Cluster Expert
According to the Book
Page 175 describes
ndb_mgmd
as follows:Just from that brief description, you need to do the following:
ndb_mgmd
config.ini
config.ini
can see every other nodeSorry, this is not really an answer. This is what I would do in your situation.
Here are the MySQL Cluster Experts in the DBA StackExchange:
Until someone can fully address this, I would defer to them to come up with an answer.