|If your MySQL data directory has many files such as:|
that means that the [mysqld] option:
log-bin=mysql-binis enabled in your /etc/my.cnf (or in the startup script).
The solution to prevent those files from being created is to comment out the log-bin option from the my.cnf by adding at # character at the start of the line (left side).
The internal default is "OFF", hence removing it will disable it.
You can delete your mysql-bin.0* files after mysqld has been restarted.
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST