Stop mysql on update