Description:
c:\mysql558\bin>mysql_upgrade -uroot -P558 --force
Looking for 'mysql.exe' as: c:\mysql558\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: c:\mysql558\bin\mysqlcheck.exe
Running 'mysqlcheck' with connection arguments: "--port=558"
Running 'mysqlcheck' with connection arguments: "--port=558"
mysql.columns_priv OK
mysql.db OK
mysql.func OK
mysql.help_category
error : Table upgrade required. Please do "REPAIR TABLE `help_category`" or dump/reload to fix it!
mysql.help_keyword
error : Table upgrade required. Please do "REPAIR TABLE `help_keyword`" or dump/reload to fix it!
mysql.help_relation OK
mysql.help_topic
error : Table upgrade required. Please do "REPAIR TABLE `help_topic`" or dump/reload to fix it!
mysql.host OK
mysql.proc
error : Table upgrade required. Please do "REPAIR TABLE `proc`" or dump/reload to fix it!
mysql.procs_priv
error : Table upgrade required. Please do "REPAIR TABLE `procs_priv`" or dump/reload to fix it!
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name
error : Table upgrade required. Please do "REPAIR TABLE `time_zone_name`" or dump/reload to fix it!
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.user OK
Repairing tables
mysql.help_category OK
mysql.help_keyword OK
mysql.help_topic OK
mysql.proc OK
mysql.procs_priv OK
mysql.time_zone_name OK
How to repeat:
Copy a data folder from 5.0.91 to a 5.1.53 or 5.5.8 install. Run mysql_upgrade.
Suggested fix:
IF db=mysql THEN
s/error : Table upgrade required. Please do "REPAIR TABLE `help_category`" or dump/reload to fix it!/Note: Will upgrade table `help_category` soon/
Or, if the "Repairing table" can be moved directly into that location (i.e repair one by one):
s/error : Table upgrade required. Please do "REPAIR TABLE `help_category`" or dump/reload to fix it!/Upgrading table `help_category` OK/