MySQL 服務無法啟動 1067錯誤

來源:互聯網
上載者:User

  安裝mysql-5.6.13-winx64完成後,net start mysql 啟動時報錯。

  查看錯誤資訊:

 2013-08-20 09:52:28 2520 [Note] Plugin 'FEDERATED' is disabled.
2013-08-20 09:52:28 2520 [Note] InnoDB: The InnoDB memory heap is disabled
2013-08-20 09:52:28 2520 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2013-08-20 09:52:28 2520 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-08-20 09:52:28 2520 [Note] InnoDB: Not using CPU crc32 instructions
2013-08-20 09:52:28 2520 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-08-20 09:52:28 2520 [Note] InnoDB: Completed initialization of buffer pool
2013-08-20 09:52:28 2520 [ERROR] InnoDB: .\ibdata1 can't be opened in read-write mode
2013-08-20 09:52:28 2520 [ERROR] InnoDB: The system tablespace must be writable!
2013-08-20 09:52:28 2520 [ERROR] Plugin 'InnoDB' init function returned error.
2013-08-20 09:52:28 2520 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-08-20 09:52:28 2520 [Warning] MySQL: unknown variable 'loose-default-character-set=utf8'
2013-08-20 09:52:28 2520 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-08-20 09:52:28 2520 [ERROR] Aborting

 

在網上找各種解決方案,無法解決

正確解決方案:刪除data目錄下的ib_logfile0和ib_logfile1檔案。

再次啟動,正常

 

聯繫我們

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