Command examines the data directory for incompatibilies with the current version of MariaDB Server. Upgrades the system tables to support any new features. Attempts to repair tables with incompatibilities.
Always perform a backup before upgrading.
mariadb-upgrade command can also be run using the legacy command from 10.3 and 10.2: