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:
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