ERROR! MySQL server PID file could not be found!
Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/var/test.pid).
Starting MySQL... ERROR! The server quit without updating PID file (/usr/local/mysql/var/test.pid).
出现这个问题
mysql 启动不了
这样解决:
cd /usr/local/mysql/var/
echo `ps aux | grep mysql | grep "user=mysql" | grep -v "grep" | awk '{print $2}'`>> test.pid
启动是可以的,但是重启不行,继续
rm -rf mysql-bin*
rm -rf ib*
rm -rf *err
删除这些 再试刚才的上面的语句
重新生成PID了,就可以了