Fixed mysql port bug