MySQL Forums
Forum List  »  MySQL Shell

Update Catalog through Shell gives error
Posted by: Miguel Ortega
Date: February 07, 2025 10:57AM

We are trying to automatize the server upgrade process for our environments, as there are many servers. We tried creating a small powershell command that basically does:
C:\Program Files (x86)\MySql\MySql Installer for Windows\MySqlInstallerConsole.exe --update

When running this it starts but we get this:
Running Catalog upgrade on CSC2CWN00006671.CLOUD.KP.ORG
=================== Start Initialization ===================
MySQL Installer is running in Community mode

Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 4/14/2020 4:14:36 AM
=================== End Initialization ===================



--update is not a supported action.
=================== Start Initialization ===================
MySQL Installer is running in Community mode

Attempting to update manifest.
Initializing product requirements
Loading product catalog
Checking for product catalog snippets
Checking for product packages in the bundle
Categorizing product catalog
Finding all installed packages.
Your product catalog was last updated at 4/14/2020 4:14:36 AM
=================== End Initialization ===================

--update is not a supported action.

Why is it doing this? If we do it manually on the GUI it works fine, we just have to click on Execute twice on the Catalog part.

Why is the --update option not running for older versions? Was there any restrictions?

Options: ReplyQuote


Subject
Views
Written By
Posted
Update Catalog through Shell gives error
40
February 07, 2025 10:57AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.