mysql报错:ERROR! MySQL server PID file could not be found!
mysql报错:ERROR! MySQL server PID file could not be found!
某天服务器mysql突然就蹦了,重启报错:ERROR! MySQL server PID file could not be found!
Starting MySQL... ERROR! The server quit without updating PID file (/www/a/mysql-5.5.49/data/iaaaaaaaZ.pid).
多方求证是服务器小文件过多;
1.大致原因-定时器未做定向输出还有各种备份小文件,导致大量的小文件存储(df -i:查看inode)
2.删除相关文件方式:1.# cd /var/spool/clientmqueue 2.#ls | xargs rm -f
重启OK了,就是如此的简单,后期对定时器做了定向输出,也定是删除了不必要的小文件;
mui