Mysql startup failure problem sharing _mysql due to disk full

Source: Internet
Author: User

Suddenly found MySQL is dead and alive are not up:

Copy Code code as follows:

/etc/init.d/mysql restart
stopping MySQL: [FAILED]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

Kill the No, helpless under the use of
Copy Code code as follows:

Service MYSQLD Status
MYSQLD (PID 21847) is running ...

The heart is very puzzled ah, it is not running it? Search around, find clues
Copy Code code as follows:

Df-k
FileSystem 1k-blocks Used Available use% mounted on
/dev/simfs 10321208 10315872 0 100%/"'

Well, you know why, the disk is full. Find some junk files and delete them.

CD/to the root directory to see which folder is large

Copy Code code as follows:

Du-sk * | Sort-n

The TMP directory is a lot of things, directly deleted

At last

Copy Code code as follows:

/etc/init.d/mysql restart
stopping MySQL: [OK]
Starting MySQL: [OK]

Oh also ~ ~ ~ to finish the work, don't look at the article so short, check the process is quite tedious ah, record, if someone again encounter similar problems, do not take detours

Related Article

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.