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了,就是如此的简单,后期对定时器做了定向输出,也定是删除了不必要的小文件;

posted @ 2021-03-11 18:16  PHP小骚年  阅读(1696)  评论(0编辑  收藏  举报