← Back
Editing: skip_log_bin.result
DROP TABLE IF EXISTS t1, t2; set @@session.binlog_format='row'; Warnings: Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release. create table t1 (a int); insert into t1 values (1); create table t2 select * from t1; drop table t1, t2; SET @@global.binlog_expire_logs_seconds=3600; SET @@global.binlog_expire_logs_auto_purge=ON; PURGE BINARY LOGS TO 'source-bin.000002'; PURGE BINARY LOGS BEFORE 'DATE'; SET @@global.binlog_expire_logs_seconds=SAVED_BINLOG_EXPIRE_LOGS_SECONDS; SET @global.binlog_expire_logs_auto_purge=SAVED_BINLOG_EXPIRE_LOGS_AUTO_PURGE;
Save File
Cancel