add connection functions between matlab and mysql