mysql超大日志造成无法启动错误

好基友在备份数据库出错后,mysql服务就辣么愉快的挂掉啦.
哥手动重启mysql的时候得到提示:

Can't connect to local MySQL server through socket '/tmp/mysql.sock'

开始以为是mysql出错了,百般查询无果之后,突然想起是不是空间满了的原因
df -h之后发现果然是空间占满了,看样子应该是邪恶的mysql日志造成的咧

记录一下,下次再有情况 直奔G点了~
浪费了两小时检查服务器...欧米头发~

Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.