We are using mariadb on Glam, for a TON of old and current dbs, like wordpress, phabricator, slashdot... yikes! lmao
Mariadb does not seem to upgrade properly, because it needs the root password.
This was discovered on Glam.
TLDR:
root@glam:/var/log# mariadb-upgrade -p