- Stop Tomcat. For instructions, see the Starting and Stopping Tomcat article.
- Ensure that the database backup performed earlier has completed successfully and that you are able to locate the database backup file.
- Open Services.
- Locate MySQL in the services list.
- If Services reports that MySQL is running, click Stop the Service.Important:
Do not continue with the steps in this workflow until Services reports that MySQL is stopped.
- Open Control Panel.
- Click Programs and Features.
- Uninstall MySQL and any related programs.
- Delete the C:/ProgramData/MySQL/ directory.
- MySQL 5.7 only:
- Open a command prompt.
- Execute the following command to remove MySQL57 from Services:
sc delete MySQL57