resolve problems with mysql port