MySQL creating a ton of .BIN files

ooshnoo
Valued Contributor

As shown in the attached pic, MySQL is creating a ton of what I believe are binary log files, and it's filling up the hard drive. Not sure how this got enabled, or how to stop it, so if anyone can advise, that would be great.
228ef09c6f2a4cc8a0a5690aa2171228

1 ACCEPTED SOLUTION

sdagley
Esteemed Contributor II

@ooshnoo That's the default behavior for MySQL 8. Refer to Configuring MySQL 8.0 for Jamf Pro and note the instructions for disabling logging in the "Setting the --log-bin Option for Replication or Point-in-Time Recovery" section.

View solution in original post

4 REPLIES 4

sdagley
Esteemed Contributor II

@ooshnoo That's the default behavior for MySQL 8. Refer to Configuring MySQL 8.0 for Jamf Pro and note the instructions for disabling logging in the "Setting the --log-bin Option for Replication or Point-in-Time Recovery" section.

ooshnoo
Valued Contributor

@sdagley Thanks dude. Just turned it off, so will see what happens! Don't even know how it was enabled, as this issue just started.

LiamS
New Contributor

Experiencing this issue now, is it safe to delete these files on bin logging is turned off?

sdagley
Esteemed Contributor II

@LiamS If you've turned off the logging option and restarted MySQL you can delete the -bin.xxxxxx log files