清理MySQL的bin-log二进制日志

Posted by zuzhihui in mysql on 2011/11/27 with No Comments

MySQL运行时间长了之后,二进制日志会占用大量硬盘空间,清楚这些日志的命令如下:


show binary logs;
purge master logs before now();

标签:

Leave a Comment

Back to Top

2007-2017 © 北京瑞豪开源科技有限公司 京ICP备13004995号-2