fixed way to change max allowed packet in mysql