# You can uninstall MySQL on Linux by using your package manager # Debian/Ubuntu sudo apt-get remove mysql mysql-server # CentOS/RedHat sudo yum remove mysql mysql-server # Arch sudo pacman -R mariadb # Fedora sudo dnf remove mysql mysql-server