Windows下MySQL重裝引起問題的解決

來源:互聯網
上載者:User

標籤:try   bsp   while   led   windows   rmi   setting   set   first   

解決了Plugin ‘InnoDB‘ init function returned error問題和error1405那個安全設定密碼登陸問題,我個人覺得關鍵點在於刪除C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/目錄下的資料檔案,當然,我不可能在重現問題求證了,不過看此貼的人可以嘗試一下只做此步是否能解決問題,當然還有刪除MYSQL安裝目錄中的殘留檔案步驟也比較重要Cite From:http://forums.mysql.com/read.php?22,144428,250105#msg-250105Re: Plugin ‘InnoDB‘ init function returned error.Posted by: Richard Lee ()Date: February 27, 2009 10:21AM

 

For Windows OS: 

OK, I struggled with this for ages. There are various partial fixes that did not fix it for me on the web, but in the end the following worked: 

If you‘ve installed it, then uninstall (an earlier version that had been removed could have left crap that is causing an issue, so best to start off clean). Do this as follows: 
- Add/Remove Programs and remove MySQL. 
- Delete the Programs File/MySQL folder (it gets left behind) 
- Delete the data file (where ever you stored it) #:/MySQL DataFiles > This is assuming you have no data to as yet to worry about!!!! 
- Run RegEdit and delete all the MySQL Keys (search and F3) and the half a dozen or so CLSIDs that coe up with just a single non-defailt key for MySQL. You can leave ADOBE/ keys that mention it if you have dreamweaver etc. As allways back up you registry first before choppig it! 

OK. Now run te install and go through the config wizard until it fails at the start up. Then close it. 

Now open up Services and open MySQL properties - I set it to run under the Administrator account rather than System/ANOther to ensure it had permissions. 

Next, go to your new MySQL DataFile and delete ‘ibdata1‘. 
Then go to ‘C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/data‘ and delete all tje ‘ib_logfile‘ prefixed files (should be 0 and 1) - useful to notice the .err log here to which is a text file. 

Then go back to Services and manually start it and all should be fine. 

Hopefully I have saved you a few hourse peeing around with Windows - MySQL Devs, about time this bug was fixed eh? Been hanging around a long while now and the web is chok full of unanswered or half answered requests for help. Remember - some of us have no choice but to use Windows.

Windows下MySQL重裝引起問題的解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.