In order to run mysql_upgrade, I had to remove the directory /var/lib/mysql/.pki, otherwise we get the following error:
mysqlcheck: Got error: 1102: Incorrect database name '#mysql50#.pki' when selecting the database FATAL ERROR: Upgrade failed
Command used was this:
mysql_upgrade -u root -p<DB root password>
In order to run mysql_upgrade, I had to remove the directory /var/lib/ mysql/. pki, otherwise we get the following error:
mysqlcheck: Got error: 1102: Incorrect database name '#mysql50#.pki' when selecting the database
FATAL ERROR: Upgrade failed
Command used was this:
mysql_upgrade -u root -p<DB root password>