

To remove the service run “ sc delete mysql“. If you want to unregister it, run the Windows Command Prompt as Administrator and then stop the service by running “ sc stop mysql” in the Command Prompt. You can’t use the XAMPP Control Panel to register and unregister the mysql service now. So, DO NOT delete the “mysql” or the “mariadb-10.5.16-win圆4” folders after the upgrade. The mariadb in the “mariadb-10.5.16-win圆4” folder will now be the operating engine, but the “my.ini” and “data” that resides in the “mysql” folder will be used. (Alternatively, you can run “ mariadb-upgrade-service.exe -service=mysql“.) Now run “mariadb-upgrade-wizard.exe” and choose the mysql instance running. You will then run the Windows command prompt (cmd.exe) and change to the “mariad-10.5.16-win圆4/bin” folder.

Your old version of MariaDB should be running. For example, you will have a “mariadb-10.5.16-win圆4” folder that you extract to your XAMMP folder. You are not replacing your “mysql” folder. Next, download the zip version of MariaDB 10.5.x and extract the folder to your XAMPP folder. First, make a backup copy of your “mysql” folder in XAMPP.
