With all software you do need to pay attention to the upgrade instructions. However in my experience it is worth noting that MySQL and MariaDB need the mysql_upgrade
command to be run. Refer to mysql_upgrade - MariaDB Knowledge Base for documentation on this.