no, you not should delete them by hand there is a command to remove them, if delete them mysql would crash. the command is:
PURGE BINARY LOGS TO 'mysql-bin.010';
see here for more information.
There are a few reasons to use binary logging. In order of importance:
So there are three things to check before you delete any binary logs:
If you are happy with the answers to all of those then go ahead and delete them with the
PURGEcommand as noted by RageZ. Absolutely don't delete them by hand because MySQL likes to keep track of them. You can either use the syntax
TO to specify a filename or
BEFORE to specify a date. You can see which file MySQL currently has open with
SHOW MASTER STATUS.
A much better approach, as kedar notes, is to use
expire_logs_days. This will automatically perform the action of purging any binary logs that are older than N days.