update installer mysqli_connect to only use port if defined