Handle custom MySQL port