利用logrotate对MySQL日志进行轮转( 三 )


3)执行以下命令测试
【利用logrotate对MySQL日志进行轮转】/usr/sbin/logrotate -f /etc/logrotate.d/mysql-log-rotate

推荐阅读