SQL Error (126): Incorrect key file for table '.\mysql\user.MYI'; try to repair it
When using MyISAM, messages like that usually occur after a power failure (or other crash of mysqld).

USE mysql;
CHECK TABLE user;
REPAIR TABLE user;