- Get the service name for both MySQL and Tomcat.
- Launch command prompt. Execute the following.
Code Block sc config Tomcat7 depend= MySQL
- You will get the following as confirmation.
Code Block [SC] ChangeServiceConfig SUCCESS
- You may verify it on Tomcat's service properties.