Improve MySQL error parsing.