重启mysql
service mysqld start
失败,日志显示如下
181008 16:19:59 InnoDB: Using Linux native AIO
/usr/sbin/mysqld: Can't create/write to file '/tmp/ibIwqDd4' (Errcode: 13)
181008 16:19:59 InnoDB: Error: unable to create temporary file; errno: 13
181008 16:19:59 [ERROR] Plugin 'InnoDB' init function returned error.
181008 16:19:59 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
181008 16:19:59 [ERROR] Unknown/unsupported storage engine: InnoDB
181008 16:19:59 [ERROR] Aborting
181008 16:19:59 [Note] /usr/sbin/mysqld: Shutdown complete
好像是tmp文件夹权限的问题
chmod 1777 /tmp
最后
以上就是贤惠冬瓜最近收集整理的关于InnoDB: Error: unable to create temporary file; errno: 13的全部内容,更多相关InnoDB:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复