Mysql log's tag archives

Mysql bin log files to remove the shell

Posted under Article, Database on Sunday, 19 July 2009 by
Mysql bin log files to remove the shell script, share to everybody #!/bin/sh  DELLOG="/usr/local/logs/del-sqlbin.log.`date +%d`" DELTMP="/usr/local/logs/del-sqlbin.tmp" MAIL_ADDR="xxx@xxx.xx" exec &>$DELLOG DT=`date +'%Y-%m-%d %T'` SINGLE=0 sleep 30 hostname echo...
Mysql bin log files to remove the shell