CRM-17360: report full mysql error messages in logs