Description: mysql-bin.000001, mysql-bin.000002 files, such as the database operation log, such as update a table, or delete some data, even if the statement does not have matching data, the command will be stored in the log file, also includes the time of execution of each statement, also recorded in. This is primarily for operational review and multi-database synchronization. Ib_logfile is used to record the consistency of the InnoDB table, only after the machine can play a role.
Workaround:
No master-slave database, no review operation, these files are completely useless! Therefore, first clean up these files. Then edit the MySQL configuration file, organize it to record these logs again, shovel grass root. The Gentoo MySQL log is in/etc/mysql/my.cnf. Comment out the log-bin in the line.
Then restart the MySQL server.
Solving the problem of "mysql-bin.000001" occupying oversized space