解決mysql服務無法啟動、Mysql重裝卡在最後一步問題,mysql一步

來源:互聯網
上載者:User

解決mysql服務無法啟動、Mysql重裝卡在最後一步問題,mysql一步

mysql服務出現問題往往是最麻煩的,往往需要重裝,而重裝很多人卸不乾淨殘留檔案,更加裝不上。在下就遇到這個問題。重裝mysql到最後一步時卡在了最後一步的第二條上

如,到start service 就不行了:



解決辦法就是卸載後刪註冊表+刪資料檔案


1卸載mysql

可以通過開啟安裝包通過裡面的remove選項刪除

2刪除安裝程式檔案3刪除註冊表

註冊表需要刪除的目錄:cmd -> regedit
1.HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL 目錄
2.HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Eventlog\Application\MySQL 目錄
3.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL 目錄
4.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl001t\Services\MYSQL 目錄
5.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl002\Services\MYSQL 目錄
6.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MYSQL 目錄

4刪除資料檔案(很重要)
刪除C:\Documents and Settings\All Users\Application Data\MySQL 目錄往往application data檔案夾是隱藏的,需要勾選顯示隱藏檔案夾才行。5.重啟(必須要重啟才有效果)



這樣之後,你的mysql重裝就沒問題了!

so happy!!!!

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.