Pass port if provided for connecting to MySQL