最近的项目中由于临时存储空间太大了。索性把tmp目录删除了。结果访问网站出现[sourcecode language=”html”]/usr/libexec/mysqld: Can’t create/write to file ‘/tmp/’ (Errcode: 13)[/sourcecode]后来网站翻阅了下资料后得到一下解决办法,在Linux命令中执
最近的项目中由于临时存储空间太大了。索性把tmp目录删除了。结果访问网站出现[sourcecode language=”html”]/usr/libexec/mysqld: Can’t create/write to file ‘/tmp/’ (Errcode: 13)[/sourcecode]后来网站翻阅了下资料后得到一下解决办法,在Linux命令中执行以下命名,对了。如果是删除了tmp目录,需要先创建tmp目录,仅供参考:[sourcecode language=”html”]# mkdir /tmp# chown root:root /tmp# chmod 1777 /tmp# /etc/i本文来源[email protected]搞@^&代*@码2网nit.d/mysqld start[/sourcecode]
原文地址:/usr/libexec/mysqld: Can’t create/write to file ‘/, 感谢原作者分享。