How to uninstall MySQL Server on Windows
Back up any databases before removing MySQL Server. The tested installation never configured an instance, so it is not evidence for a server containing real data.
Quit the app
Close MySQL Server and any work it is running, then use Task Manager (Ctrl+Shift+Esc) to check for its remaining processes.
Use its uninstaller
Open Settings › Apps › Installed apps, find MySQL Server and choose Uninstall. Use the vendor uninstaller rather than deleting its program folder.
winget uninstall --id Oracle.MySQL --exact
For this installation, winget invokes the registered removal method. It is not a separate cleanup of user data. Windows may ask for administrator approval.
Check the result
winget list --id Oracle.MySQL --exact
Test-Path -LiteralPath "${env:ProgramFiles}\MySQL\MySQL Server 8.4" -ErrorAction Stop
Read winget's result as well as its exit status: an explicit no-installed-package result concerns only this package, while a source, access or query error leaves the answer unknown. A successful Test-Path returning True means that exact location remains; False means it is absent. Neither result checks other paths. The commands do not delete anything.
What Mole lists
| Location | Item | Default |
|---|---|---|
%ProgramFiles%\MySQL\MySQL Server 8.4 |
Program files | Goes with the app row |
%ProgramData%\Microsoft\Windows\Start Menu\Programs\MySQL\MySQL Server 8.4\MySQL 8.4 Command Line Client - Unicode.lnk |
Shortcut | Selected by default |
%ProgramData%\Microsoft\Windows\Start Menu\Programs\MySQL\MySQL Server 8.4\MySQL 8.4 Command Line Client.lnk |
Shortcut | Selected by default |
%ProgramData%\Microsoft\Windows\Start Menu\Programs\MySQL\MySQL Server 8.4\MySQL 8.4 Configurator.lnk |
Shortcut | Selected by default |
%ProgramFiles%\MySQL\MySQL Server 8.4 |
Usage records for this program | Selected by default |
The MSI removed the program and the listed shortcuts were already absent. %ProgramData%\MySQL\MySQL Configurator remained unlisted with configuration and logs. No MySQL service or Data directory had been created in this test.
These defaults assume Remove data and settings with apps is off. Explicit Select all or Also remove user data can include the listed personal-data rows. Check the selection before confirming. Selected files that Mole removes go to the Recycle Bin; selected registry entries are backed up before removal. The vendor uninstaller has its own deletion behavior.
What this test covered
Recorded on 2026-10-20: MySQL Server, version 8.4.9, machine-wide, MSI, winget package Oracle.MySQL. The evidence comes from an ARM64 Windows test environment and a development build of Mole. It does not certify the current downloadable package or removal of real signed-in accounts, synchronized data or production projects.
Vendor documentation. The paths and removal results above are observations from the Windows test unless explicitly attributed to the vendor.
