Skip to content


解决不能通过mysql.sock连接MySQL问题

mysql不能启动,报找不到xxx.sock

kill -9 进程。不行 查看my.cnf配置。没错

看了一下error.log,发现没空间了

df -ks du -hs /opt

/opt占了三十几G,原来apache日志一直没清过,新上的产品每天又产生近2G的日志。

把日志删了后就正常了.

修改apache不产生日志 CustomLog combined /dev/null

Posted in linux 维护优化, Mysql, 技术.

Tagged with .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.