I found mysql have binary log and consume a lot of disk space, how to clear that I use log-bin instead of log file?
I search with google and I found RESET command with option MASTER
RESET MASTER
It used for deletes all binary logs listed in the index file, resets the binary log index file to be empty, and creates a new binary log file.
