Fix mysql agent