mysql_upgrade is a tool that checks and updates your tables to the latest version.
From MariaDB 10.5, the client is called mariadb-upgrade. It can still be accessed under its original mysql_upgrade name via a symlink in Linux, or an alternate binary in Windows.