Description:
By default the services (daemons) created by the Windows installer have the following service names:
executable - Service name
----------------------------
MySQL server - MySQL Network MySQL
Apache web server - MySQLNetworkApache
Tomcat web server - Tomcat
Their display names are all alike:
MySQL Network MySQL
MySQL Network Apache
MySQL Network Tomcat
However if you use a command line tool like NET or SC to start and stop your services (as many admins do) you need the actual service name. The service names provided by the installer are neither similar nor consistent with their display names
How to repeat:
Use the windows utility SC and check the output;
shell> sc query
<... snip ...>
SERVICE_NAME: MySQL Network MySQL
DISPLAY_NAME: MySQL Network MySQL
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE,PAUSABLE,ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: MySQLNetworkApache
DISPLAY_NAME: MySQL Network Apache
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
SERVICE_NAME: Tomcat
DISPLAY_NAME: MySQL Network Tomcat
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Suggested fix:
Reset the installer to create the following service accounts:
executable - Service name
----------------------------
MySQL server - MySQLNetwork_MySQL
Apache web server - MySQLNetwork_Apache
Tomcat web server - MySQLNetwork_Tomcat
This way, the names are both consistent and unique to any other Apache, Tomcat, or MySQL installation that may already be on the machine.