Mysql startup failure caused by disk full _ MySQL

Source: Internet
Author: User
Mysql startup failure caused by disk full suddenly found that mysql cannot be started:

/Etc/init. d/mysql restart
Stopping MySQL: [FAILED]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
Kill cannot be used.

Service mysqld status
Mysqld (pid 21847) is running...
I am wondering, isn't it running? Search around to find clues

Df-k
Filesystem 1K-blocks Used Available Use % Mounted on
/Dev/simfs 10321208 10315872 0 100% /"
Okay, you know the reason. when the disk is full, find some junk files and delete them.

Cd/go to the root directory to see which folder is large

Du-sk * | sort-n
There are a lot of things in the tmp Directory. I deleted them directly.

Last

/Etc/init. d/mysql restart
Stopping MySQL: [OK]
Starting MySQL: [OK]
Oh, also ~~~~ After finishing your work, don't look at the article so short. the query process is quite complicated. record it. if someone encounters a similar problem, don't take a detour.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.