Revert mysql error code