You can put this command in crontab to run at regular intervals. This will purge database binary logs. $ designates shell prompt, replace passwd with the actual password. $ /bin/echo 'reset master' | /usr/local/mysql/bin/mysql --password=passwd
© 2005 tiplib.com