My Oracle Support Banner

How to Uninstall MySQL From Linux System (Doc ID 1379586.1)

Last updated on APRIL 20, 2023

Applies to:

MySQL Server - Version 5.5 and later
Information in this document applies to any platform.

Goal

How to uninstall MySQL packages or binaries from a Linux system? Installation procedure is explained in the page of the reference manual. However, the uninstallation procedure is not found in the reference manual.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1. tar.gz package
 1-1. Stop the server
 1-2. Remove binaries
 1-3. Remove configuration files (Optional)
 1-4. Remove data files (Optional)
 2. RPM packages
 2-1. Remove dependent packages
 2-2. Stop the server
 2-3. Remove RPM packages.
 2-4. Configuration files and data (Optional)
 3. DEB packages
 3-1. Remove depending packages
 3-2. Stop the server
 3-3. Remove the package
 4. Native package management system


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.