Changed CleanupActions.sql so it whould work with most mysql servers/user rights