How can I upgrade MariaDB from 10.4 to 10.5 without reinstalling the HestiaCP panel?

If MariaDB 10.4 is installed on the server, can I upgrade to version 10.5 without reinstalling HestiaCP? Will this affect the correct operation of the web server configuration?

There is a auto upgrade script, you can trigger it with the following command:

bash /usr/local/hestia/install/upgrade/manual/upgrade_mariadb.sh

Usualy, it should work out of the box, but every upgrade is a risk. So something could fail and you would need to debug it.

3 Likes

I run the script and the upgrade was successful. Everything works. Thanks!

1 Like

BTW, don’t upgrade, if you run on a low spec. server. Mariadb folks in their wisdom decided to make the minimum specified connections an arbitrary 10. This is not good, if you are memory constrained, as I discovered recently. Had to rebuild a VPS with mysql 5.7 instead. :’(