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