mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)

时间:2022-02-10 06:32:16

mysql启动报错Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid)

查看mysql错误日志也没有写入。

最后发现是selinux打开,汗……

参考

mysql启动时报错:Starting MySQL... ERROR! The server quit without updating PID file (/opt/mysql/data/mysql.pid) 的解决方法 - 惨绿少年 - 博客园
https://www.cnblogs.com/clsn/archive/2017/11/01/7765713.html