Can I purge binlog files after migration ?
Posted by: Vito Cavallo
Date: July 31, 2026 08:45AM

Hello,
I performed a mysqldump and restore of a 5.7 database to a test server space.
It created approx 445 binlog.000xxx files that are 1 GB each.

Same thing happening via MySQL workbench restore.
Is this normal and can I purge them after migration ?

When I perform the command on the original server, SHOW BINARY LOGS; I receive "Error Code: 1381. You are not using binary logging"

I do not have any binary logging setup in my my.cnf.

I read a few with mysqlbinlog and it seems dates are recent.

Thank you.

Options: ReplyQuote


Subject
Written By
Posted
Can I purge binlog files after migration ?
July 31, 2026 08:45AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.