Home >Database >Mysql Tutorial >/usr/libexec/mysqld: Can’t create/write to file ‘/

/usr/libexec/mysqld: Can’t create/write to file ‘/

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 16:37:321607browse

最近的项目中由于临时存储空间太大了。索性把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/init.d/mysqld start [/sourcecode]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn