How to get rid of those nasty hostname-bin.000* files


These files are binary logs which contain statement events which have updated the database. Typically, these are used in scenarios where the database is replicated between servers. If you're not using replication, however, these files do little more than clutter up your disk.

To stop MySQL from creating these files, simply edit your my.cnf file (probably /etc/mysql/my.cnf) and comment out the line that reads:

log-bin

2014-10-31 21:17 Roy Kidder {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.