Added mysql errormessage on fail