show binary logs;
purge master logs to 'mysql-bin.000186';
SHOW VARIABLES LIKE '%expire%';
set global expire_logs_days=2;
728x90
show binary logs;
purge master logs to 'mysql-bin.000186';
SHOW VARIABLES LIKE '%expire%';
set global expire_logs_days=2;
댓글