execute mysql stop with stdout and err