net start mysql無法啓動mysql,發生系統錯誤1067

排查流程

net start mysql無法啓動mysql,發生系統錯誤1067
在這裏插入圖片描述
查看事件日誌提示:Table '.\mysql\user' is marked as crashed and should be repaired
user表索引文件損壞

解決辦法

找到mysql的安裝目錄的bin/myisamchk工具,在命令行中輸入:

myisamchk -c -r ../data/mysql/user.MYI #修復mysql user表索引

參考文章:
[MySQL]快速解決"is marked as crashed and should be repaired"故障

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章