/var/log/mysql/*.log {
	# create 600 mysql mysql
	notifempty
	daily
	rotate 7
	missingok
	compress

	copytruncate
	#postrotate
	# just if mysqld is really running
	#if test -x /usr/bin/mysqladmin && /usr/bin/mysqladmin ping &>/dev/null
	#then
	#	/usr/bin/mysqladmin flush-logs 2> /dev/null || true
	#fi
	#endscript
}
