remove binlog mysql 1

remove binlog mysql

mysql> PURGE BINARY LOGS BEFORE '2021-01-01 00:00:00'; 

Here is what the above code is Doing:
1. PURGE BINARY LOGS is the command to delete binary logs.
2. BEFORE ‘2021-01-01 00:00:00’ is the date before which you want to delete the binary logs.
3. ; is the command terminator.

Similar Posts