How to remove MySQL service from XP without mysql in shell?
I tried to remove registry entries but this was useless. And there is no link and button to remove it. Only Start and Stop...

    Control Panel > Add Remove Programs > MySQL Uninstall?

    or are you looking for something different? you can start and stop the service throught he service panel or though the command line (ie: "NET STOP MySQL"), and through the services panel, you can set it to only start manually so that it doesn't start when your computer does and you have to manually go into services (or type "NET START MySQL") to start it.

      but there is one problem, uninstalling mysql does not remove its service... at least in my maschine(Windows XP).
      The problem is, if i want to make a new mysql installation, the old path in the service remains.

        13 days later

        I spent hours trying to figure out how to remove mysql as a windows service. Uninstalling through ad/remove doesn't remove the service. The other problem is if you deleted the mysql folder after uninstall you have to re-install mysql in order to remove service. Then uninstall mysql again.
        anyway,
        open a prompt
        type cd c:\mysql\bin (if that's your root)
        hit enter
        type mysqld-max-nt.exe -remove

        good luck!

          4 years later

          I found this post while looking for a solution myself at another site. So thought I would post it here as well which might be useful for others sometime.

          How to delete a Service in Windows XP

          Click Start | Run and type regedit in the Open: line. Click OK.

          Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

          Scroll down the left pane, locate the service name, right click it and select Delete.

          Reboot the system

            2 years later

            Same situation as noted w/this submission. Removed MySQL, but the service remained running on my system. Further created an issue / conflict when I attempted to re-install MySQL. The presence of the MySQL service, blocked my re-install attempt.

            using regedit
            (START -> enter regedit in the search programs and files field)
            click to open regedit
            locate the registry location for:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

            From w/in this area locate the MySQL folder and right-click -> delete.

            Always a VERY good point to create a restore point prior to deleting anything from your registry.
            http://www.sevenforums.com/tutorials/697-system-restore-point-create.html

            Thanks for the solution post!!!

              Write a Reply...