2015-12-14 41 views
0

雖然打算使用的服務,我收到以下錯誤安裝/配置MySQL安裝mysql:無法使用服務

enter image description here

請儘快幫我在這越好!

回答

0

缺陷原因:日誌文件可能已滿。

解決方案

  1. 右鍵單擊「我的電腦」
  2. 選擇管理
  3. 在應用程序日誌中右鍵單擊
  4. 選擇屬性
  5. 變化最大日誌大小,以更大的價值
  6. 選中「需要時覆蓋事件」

此外,另一種方式來調試是看你的日誌file.For更多信息請參見this

Take a look at your error log by looking in:

「C:\Documents and Settings\All Users.WINDOWS\Application Data\MySQL\」

Then click on the 「MySQL Server X.X\」 folder and then 「data\」

Find the file [MY-DOMAIN-NAME].err and open it using notepad

Another possible cause of the 1067 error might be faulty my.ini settings.

...

So the general tip from me would be: Try to think of any reconfigurations you’ve done recently. That might be what’s causing this. —ChromaWoods

We were getting a 1067 error because (we think) we’d been unable to successfully complete a reinstall after mixing up the original root password [on the mysql server].

我們的最終解決方案是完全卸載 MySQL並重新安裝。棘手的部分是卸載需要三個步驟:

  1. 從控制面板通過添加/刪除程序卸載。

  2. 刪除基本目錄 - 可能C:/ Program Files文件/ MySQL的

  3. 刪除數據目錄 - 可能C:/ Documents和設置/所有用戶/應用程序數據/ MySQL的

查找Data目錄可能有點棘手,因爲Application Data文件夾默認是隱藏的。如果您更改文件夾選項,以便您可以查看應用程序數據文件夾並仍然看不到它,請在開始菜單中鍵入路徑(從步驟3)到運行以打開文件夾。

一旦你已經卸載MySQL並刪除了這兩個文件夾,你應該準備好重新開始!