Comments - Upgrading MariaDB on Windows

3 years ago Noah Grant

The General Recommendations section of this page indicates to install the new version (while retaining the old one), upgrade any services, then uninstall the old version. When I upgrade from 10.1.22 to 10.6.4 I run the 10.6.4 msi, have no services to upgrade, then when I run the 10.1.22 msi and choose to Remove the version (but keep the data) I end up with the Windows Service uninstalled, so my 10.6.4 version will not work. Are these steps out of date? Should the uninstall of 10.1.22 happen first, keeping the data, then install 10.6.4?

 
2 years, 9 months ago Vladislav Vaintroub

The instructions did not change since they were created. The problem is that you have no services to upgrade, on some reason the wizard decides that whatever you got is not upgradable. Those reasons could be executable name, different from mysqld.exe in the service config, or missing or unparsable my.ini , or it could not find data directory. Unfortunately, the wizard does not log its decisions, on why it excluded something.

So, no , you should not uninstall old version before installing new, or everything that is written here, and mysql_upgrade_service.exe tool would not make sense.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.