1. rpm -qa | grep -i mysql 查询mysql安装的是哪些包 2. 根据查询的结果进行卸载 rpm -ev 包名(不需要加后缀) 3. 手动删除/var/lib/mysql /etc/my.conf