C:\> C:\mysql\bin
db_mgmd.exe --install=mgmd1 Installing service ’NDB Cluster Management Server’ as ’"C:\mysql\bin
db_mgmd.exe" "--service=mgmd1"’ Service successfully installed. 

Now you should be able to start or stop the service using the name you have specified, like this: 

C:\> SC START mgmd1 C:\> SC STOP mgmd1 

To remove the management node service, use SC DELETE service_name : 

C:\> SC DELETE mgmd1 

Alternatively, invoke ndb_mgmd.exe  with the --remove  option, as shown here: 

C:\> C:\mysql\bin
db_mgmd.exe --remove Removing service ’NDB Cluster Management Server’ Service successfully removed. 

If you installed the service using a service name other than the default, pass the service name as the value of the ndb_mgmd.exe --remove  option, like this: 

C:\> C:\mysql\bin
db_mgmd.exe --remove=mgmd1 Removing service ’mgmd1’ Service successfully removed. 

Installation of an NDB Cluster data node process as a Windows service can be done in a similar fashion, using the --install  option for ndbd.exe  (or ndbmtd.exe ), as shown here: 

C:\> C:\mysql\bin
dbd.exe --install Installing service ’NDB Cluster Data Node Daemon’ as ’"C:\mysql\bin
dbd.exe" "--service=ndbd"’ Service successfully installed. 

Now you can start or stop the data node as shown in the following example: 

C:\> SC START ndbd C:\> SC STOP ndbd 

To remove the data node service, use SC DELETE service_name : 

C:\> SC DELETE ndbd 

Alternatively, invoke ndbd.exe  with the --remove  option, as shown here: 

C:\> C:\mysql\bin
dbd.exe --remove Removing service ’NDB Cluster Data Node Daemon’ Service successfully removed. 

As with ndb_mgmd.exe  (and mysqld.exe ), when installing ndbd.exe  as a Windows service, you can also specify a name for the service as the value of --install , and then use it when starting or stopping the service, like this: 

C:\> C:\mysql\bin
dbd.exe --install=dnode1 Installing service ’dnode1’ as ’"C:\mysql\bin
dbd.exe" "--service=dnode1"’ Service successfully installed. C:\> SC START dnode1 C:\> SC STOP dnode1 

