windows 安裝mysql的時候最後執行一直停留在Write configuration file

來源:互聯網
上載者:User

標籤:

出現原因:MySQL安裝路徑出現中文,特殊字元、或是重新安裝MySQL後經常遇到。前者是路徑不允許出現中文名稱,後者是由於卸載不乾淨。

 

我就是因為重新安裝了MySQL,卸載不乾淨,才會導致之後這個錯誤,接下來就列出,卸載MySQL時,除了正常卸載外,還需要做的事情:

  1、卸載MySQL  

  2、刪除安裝目錄及資料存放目錄 

  3、在註冊表(regedit)查詢mysql,全部刪除 

  4、在c盤查詢MySQL相關檔案,全部刪除(Program files、UserData)

 

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 目錄
7.刪除C:\Documents and Settings\All Users\Application Data\MySQL目錄

 

切記,不要把Mysql安裝在帶有中文路徑的目錄下

windows 安裝mysql的時候最後執行一直停留在Write configuration file

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.