only pass port to mysqli_connect when it is set