centos7 mysq报错ERROR! The server quit without updating PID file

mac2025-12-16  7

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

最新回复(0)