MySQL Daemon failed to start error solution, mysqlfailed
MySQL Daemon failed to start error Solution
Two days ago, we found that the published website could not be registered. We logged on to these activities, but the webpage was normal. So we started to troubleshoot the problem. First we restarted jenkins, but there was an error every time we restarted. So we had to restart the server, and there were a lot of services to restart the server, one of which was mysql.
First, I try to start the service with the command: service mysql start, but the prompt is:
MySQL Daemon failed to start
At the beginning, I found this problem very well. Then I started to check and talk about everything. Then I saw a blog writing to view the log, so I went to this path to view the log: /var/log/mysqld. log
Open the log file and find the following prompt:
The following message is displayed: No space left on device.
Therefore, run the command df-lh to view the remaining disk space.
When the disk space is used up, some useless files are deleted, and several GB of space is freed up. Run the following command again: service mysql start. The startup is complete.
From this issue, I am prompted that the first thing I want to do in the future is not to check Baidu or Google, but to view logs, how important logs are in the production and use of our software.
Thank you for reading this article. I hope it will help you. Thank you for your support for this site!