重启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
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐