To purge all binary logs from MySQL run the following.
purge binary logs before NOW();
Be sure that you don't need those logs first! If the logs have filled the disk then you probably need to remove them to free up space, but this is more or less an emergency measure.
To view the content of the binary logs run the following.
Add new comment