1.停止mysql服務systemctl stop mysql.service 2.刪除mysql和配置文件(若出現需要先刪除依賴的,可以用rpm -e --nodeps 文件名)rpm -qa | gr