manual housekeeper script for mysql based on @jalexandre0 work