Fix mysql parsing