The fix is to quote service name parameter, when it is passed to mysql_upgrade_service subprocess.
Attach a file by drag & drop or click to upload