There is a bug, apparently still open, described at 0020291: automatic updater fails when mysql port is not default - phpList Mantis. I’m assuming this is why my use of the upgrader is failing, since my database is accessed on a non-default port.
But I could not understand the fix. Which file has to be amended? Can anyone advise?