SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
Binary Logs
Primary tabs
Don't just delete the binary log files in /usr/local/mysql/var
! Doing so really screws up MySQL!
Automatically purging binary logs
Edit /etc/my.cnf
and add/edit a expire_logs_days
variable. For example, to purge logs older than 30 days:
expire_logs_days=30
Purge existing binary logs
Look in /usr/local/mysql/var
and to check the name of the oldest binary log file you want to keep
/usr/local/mysql/bin/mysql -u root -p
purge master logs to 'mysql-bin.010';
Completely disable binary logging
Edit /etc/my.cnf
#log-bin=mysql-bin
#binlog_format=mixed
- Log in to post comments