InnoDB: The innodb_system data file 'ibdata1' must be writable錯誤


重新安裝percona5.7過程中,啟動mysql服務總是報如下的錯誤

2017-02-10T02:31:36.781070Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2017-02-10T02:31:36.781096Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2017-02-10T02:31:36.781103Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2017-02-10T02:31:37.892083Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2017-02-10T02:31:37.892137Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-02-10T02:31:37.892143Z 0 [ERROR] Failed to initialize plugins.
2017-02-10T02:31:37.892146Z 0 [ERROR] Aborting

提示關鍵信息是ibdata1文件不能寫入,查看目錄的權限,發現沒有賦權。

更改權限,並重新啟動Mysql,問題得以解決

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM