About uninstalling MySQL About this topic This topic provides the workflow for uninstalling MySQL. CAUTION Incorrectly modifying the registry can result in serious software problems. Contact Agilent Automation Solutions Technical Support for assistance with the following workflow. Workflow The workflow to uninstall previous MySQL installations is as follows. 1 If applicable, export the existing MySQL velocity11 database to an SQL file and move the file to a backup storage location. For instructions, see Exporting and importing the inventory data. 2 Use the Windows Add/Remove programs feature to uninstall MySQL Server and MySQL Connector/ODBC. 3 Restart the computer. 4 Verify that MySQL service is completely removed from the computer’s list of services. To display the services, go to MyComputer > Manage Computer > Services and Applications > Services If MySQL appears in the list, do the following: a Right-click MySQL, and select Stop. An unable-to-stop error message may appear. b Open a Command Prompt window: • In the C:\Windows\System32. folder, right-click cmd.exe, and then select Run as administrator. • In the User Account Control dialog box, click Yes. c Execute the following lines in the Command Prompt window: sc delete MySQL <ENTER> 5 Check the Microsoft Windows registry keys for any references to old versions of MySQL. In the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\MySQL AB\ If present, delete MySQL Server 5.1 or MySQL Server 5.0. 6 Restart the computer. Related information For information about... See... Installing MySQL 5.7 for Microsoft Windows 10 operating system Setting up a Windows 10 MySQL database Installing MySQL 5.1 for Microsoft Windows 7 operating system Installing and setting up MySQL 5.1