mysql binlog日誌清除

mysql binlog日誌按期清除: 方法1.修改配置文件 expire_logs_days        = 10 #mysql-bin.000001等二進制日誌10天后自動過時清除 方法2.手動刪除 rm -f mysql-bin.00001 方法3.SQL刪除 purge master logs to 'mysql-bin.000009' #刪除不包括mysql-bin.000009的以前
相關文章
相關標籤/搜索