MySQL PID not be found
MySQL server PID file could not be found!

MySQL启动报错
ERROR! MySQL server PID file could not be found
可能原因一 MySQL服务器的PID文件无法找到!
mysql在启动时没有指定配置文件时会使用/etc/my.cnf配置文件
打开这个文件查看在[mysqld]节下有没有指定数据目录datadir
解决方法在[mysqld]下设置
datadir = /usr/local/mysql/data
根据你的实际mysql地址来填写

可能原因二 进程占用 查看mysql进程 将显示出来的进程kill掉即可 pid 换成查询到的进程号
kill -9 pid
# ps aux|grep mysqld
root     125476  0.0  0.0 113416  1624 pts/1    S
mysql    125995  0.1  5.0 1357452 194356 pts/1  S