centos7启动MySQL时报错:MySQL server PID file could not be found!
启动MySQL时报错:
MySQL server PID file could not be found!
ERROR! The server quit without updating PID file(/var/lib/mysql/L1.id)
我用如下方法解决了这个问题:
sudo vim /etc/selinux/config
将SELINUX=enforcing改为disabled
然后重新启动虚拟机就好了。