>데이터 베이스 >MySQL 튜토리얼 >/usr/libexec/mysqld: Can’t create/write to file ‘/

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB원래의
2016-06-07 16:37:321622검색

最近的项目中由于临时存储空间太大了。索性把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]
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.