Manually purge binary logs on MariaDB

Posted Almost 10 years ago. Visible to the public.

Open a MySQL root shell and use this command:

PURGE BINARY LOGS BEFORE DATE(NOW() - INTERVAL 3 DAY) + INTERVAL 0 SECOND;
Thomas Eisenbarth
Last edit
Almost 10 years ago
License
Source code in this card is licensed under the MIT License.
Posted by Thomas Eisenbarth to makandra dev (2014-07-25 08:10)