MySQL Daemon failed to start error solution

MySQL Daemon failed to start error solution

MySQL Daemon failed to start error solution

A few days ago, we found that the published website could not be used for registration and logging into these activities, but accessing the pages was normal. So we started to troubleshoot the problem. First, we restarted Jenkins, but there were errors every time we restarted, so we had to restart the server. There were many services that needed to be restarted when restarting the server, one of which was MySQL.

First I tried to start the service with the command: service mysql start, but it prompted:

MySQL Daemon failed to start

When this problem first occurred, I was confused, and then I started to check and found all kinds of things. Then I saw a blog post about checking the log, so I went to this path to check the log: /var/log/mysqld.log

Open the log file and find the following prompt:

You can see the prompt: No space left on device

So use the command: df -lh to check the remaining disk space

I found that the disk space was used up, so I deleted some useless files, freed up several GB of space, and re-entered the command: service mysql start, and the startup was completed.

From this incident, I remind myself that next time I encounter a problem, the first thing I should do may not be to check Baidu or Google, but to check the log. This shows how important logs are in the process of making and using our software.

Thank you for reading, I hope it can help you, thank you for your support of this site!

You may also be interested in:
  • Mysql master-slave synchronization Last_IO_Errno:1236 error solution
  • MySQL "Every derived table must have its own alias" error solution
  • MySQL startup error solution
  • Solution to the MySQL server has gone away error

<<:  Vue two-choice tab bar switching new approach

>>:  A brief discussion on the magical slash in nginx reverse proxy

Recommend

Solution to ElementUI's this.$notify.close() call not working

Table of contents Requirement Description Problem...

Detailed explanation of how to install MariaDB 10.2.4 on CentOS7

CentOS 6 and earlier versions provide MySQL serve...

Docker builds python Flask+ nginx+uwsgi container

Install Nginx First pull the centos image docker ...

Detailed tutorial on installing Docker on Windows

Since my local MySQL version is relatively low, I...

How to solve the mysql error 1033 Incorrect information in file: 'xxx.frm'

Problem Description 1. Database of the collection...

How to insert a link in html

Each web page has an address, identified by a URL...

Practice using Golang to play with Docker API

Table of contents Installing the SDK Managing loc...

How to create a child process in nodejs

Table of contents Introduction Child Process Crea...

CSS3 uses scale() and rotate() to achieve zooming and rotation

1. scale() method Zoom refers to "reducing&q...

Learn more about MySQL indexes

1. Indexing principle Indexes are used to quickly...

MySQL scheduled full database backup

Table of contents 1. MySQL data backup 1.1, mysql...

In-depth discussion on auto-increment primary keys in MySQL

Table of contents Features Preservation strategy ...

Detailed explanation of Truncate usage in MySQL

Preface: When we want to clear a table, we often ...