* MySQL server PID file could not be found!
Starting MySQL
. * The server quit without updating PID file (/var/run/mysqld/mysqld.pid).
原因1:
已经有进程运行
.ps aux|grep mysql
kill -9 `ps -ef|grep mysql |grep -v grep|awk '{print $2}'`
kill -9 进程
service mysql restart
原因2:
装个两次mysql,存在2个my.cnf
删掉不要的那个my.cnf
rm -R mysql/
在重启
service mysql start