Table'.\mysql\user'is marked as crashed and should be repaired的問題
Table '.\mysql\user' is marked as crashed and should be repaired
解決方法如下:
www.2cto.com
找到mysql的安裝目錄的bin/myisamchk工具,在命令行中輸入:
myisamchk -c -r ../data/mysql/user.MYI
然後myisamchk 工具會幫助你恢復數據表的索引。重新啟動mysql,問題解決。