Share via

How to completely uninstall MySQL?

Anonymous
2019-04-10T15:31:12+00:00

how to uninstall mysql cleanly?

* Moved from Health & band

***Modified the title from Uninstal MySQL***

Windows for home | Other | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2019-04-13T05:28:14+00:00

    Hi,

    Thank you for writing to Microsoft Community Forums.

    Which version of Windows is installed on your device?

    Refer the article ‘Which Windows operating system am I running’ to provide the details.

    I suggest you to follow the steps mentioned below to uninstall MySQL from the device.

    Step 1

    Uninstall MySQL from Control Panel. To do so,

    Go to Control Panel >Programs and Features > Select MySQL > Click on Uninstall.

    After you have uninstalled MySQL through Add/Remove programs, you now need to remove the existing database information which includes your actual data.  If you need any of that data, be sure to back it up. Next you can delete the data directory.

    Step 2

    Run Command Prompt as Administrator and execute the following command to stop and remove MySQL service.

    Net stop MySQL

    Sc delete MySQL

    Step 3

    1. Click on Start, type in Show hidden files and folders.
    2. Select the View tab and select Show hidden files and folders.
    3. Now explore the following locations and delete following folders. C:\Program Files\MySQL C:\Program Files (x86)\MySQL C:\ProgramData\MySQL And if exists, delete the folder from the location. C:\Users[User-Name]\AppData\Roaming\MySQL
    4. Restart your device and check the status.

    Get back to us for further assistance on this issue. We will be happy to help you.

    Regards,

    Muralidhar

    Microsoft Community Moderator

    400+ people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful