Migrating MySQL 5.0.x to 5.1.x

Sam Sharpe lists.redhat at samsharpe.net
Thu May 20 06:11:40 UTC 2010


On 20 May 2010 05:24, Kevin J. Cummings <cummings at kjchome.homeip.net> wrote:
> Incorrect key file for table 'host'; try to repair it

1) backup a copy of /var/lib/mysql/mysql/
2) myisamchk -r /var/lib/mysql/mysql/*.MYI
3) try starting MySQL

assuming it now starts, then run mysql_upgrade

-- 
Sam


More information about the users mailing list