Setting Binlog_expire_logs_seconds in Percona-Server MySQL 8 Jun 22nd, 2020 • Permalink vi /etc/my.conf my.confbinlog_expire_logs_seconds=1296000 systemctl stop mysqld systemctl start mysqld select now(); show global variables like 'binlog_expire_logs_seconds';