ERROR! The server quit without updating PID file
以前的mysql沒卸載乾淨
按一下方法徹底卸載mysql,重新安裝就可以使用
- 查找
rpm -qa | grep -i mysql
- 卸載
#xxx爲你查找到的mysql名
rpm -e --nodeps xxx
-
find / -name mysql
將查到的mysql文件刪掉 -
whereis mysql
將查到的mysql文件刪掉 -
locate mysql
將查到的mysql文件刪掉 -
刪掉mysql的配置文件
/etc/my.cnf