数据库下的mysql数据库的user表损坏,

Index for table '.\mysql\user.MYI' is corrupt; try to repair it

解决方式

Index for table '.\mysql\user.MYI' is corrupt; try to repair it

忘记mysql密码修改(user表的密码是MD5加密的)

update user set password=password('cybertron') where user='root' and host='localhost';

 

相关文章: