Handle mysqls return data