1,卸載前關閉MySQL服務mysql
關閉方式一,若是方式一不行請用方式二,sql
[root@liujihaoth ~]# systemctl status mysqlide
[root@liujihaoth ~]# systemctl stop mysqlit
[root@liujihaoth ~]# systemctl status mysqlclass
關閉方式二im
二、刪除老版本mysql的文件和庫top
[root@liujihaoth ~]# find / -name mysqlimg
最後查找的文件和庫刪除掉di