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

Navicat Premium operates MySQL database (executes sql statements)

1. Introduction to Navicat 1. What is Navicat? Na...

Summary of commonly used escape characters in HTML

The commonly used escape characters in HTML are s...

Detailed tutorial on installing Docker and docker-compose suite on Windows

Table of contents Introduction Download and insta...

How to use cc.follow for camera tracking in CocosCreator

Cocos Creator version: 2.3.4 Demo download: https...

Supplementary article on front-end performance optimization

Preface I looked at the previously published arti...

Implementation of FIFO in Linux process communication

FIFO communication (first in first out) FIFO name...

HTML head tag detailed introduction

There are many tags and elements in the HTML head ...

Native JS implementation of loading progress bar

This article shares a dynamic loading progress ba...

MySQL 5.7 and above version download and installation graphic tutorial

1. Download 1. MySQL official website download ad...

Full steps to create a password generator using Node.js

Table of contents 1. Preparation 2. Writing comma...

Vue implements 3 ways to switch tabs and switch to maintain data status

3 ways to implement tab switching in Vue 1. v-sho...

How to solve the phantom read problem in MySQL

Table of contents Preface 1. What is phantom read...

vue front-end HbuliderEslint real-time verification automatic repair settings

Table of contents ESLint plugin installation in H...