I am upgrading mysql 5.1
to mysql 5.5
in centos 7
server.
As time limit,I only mysqldump
and source
several small database to mysql 5.5
,and then mysql_upgrade --verbose -u root -p
,everything is ok.
Several days later, I import a big database db3
to mysql 5.5
.
[root@localhost ~]# mysql -u root -p < db3.sql
Enter password:
[root@localhost ~]# mysql_upgrade --verbose -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.5.60-MariaDB, use --force if you still need to run mysql_upgrade
[root@localhost ~]# mysql_upgrade --verbose --force -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Phase 1/4: Fixing views
Pls notice This installation of MySQL is already upgraded to 5.5.60-MariaDB, use --force if you still need to run mysql_upgrade
.
Do I need to run mysql_upgrade --verbose -u root -p
again?