MySQL server PID file could not be found Solution sharing

15,595 Secondary reading
No comment

Today, when I restarted LNMP, I was prompted: "MySQL server PID file could not be found!" Error. I immediately felt uncomfortable. How can I stop my website.

Although the website doesn't make money, it can't let it strike. Find the reason immediately. It suddenly occurred to me that this VPS server has not been maintained for a long time. Is it because the space is full?

Then execute the command: [Centos System]

cd /

du -sh *

At first glance, the space is really full, so there is a way. The var directory takes up a lot of space. Immediately execute the following commands in order to continue to check the directory.

cd var

du -sh *

At this time, I understand.

MySQL server PID file could not be found解决办法分享

Execution: yum clean all

Then execute the LNMP restart command: lnmp restart

It immediately shows that MYSQL is restarted successfully, and the problem is solved.

End of body
  one
 VPS Encyclopedia Editor
Copyright notice: The original article of this website was written by VPS Encyclopedia Editor Published on July 30, 2022, totaling 292 words.
Reprint description:
Comments (no comments)