mysql 无法远程操作

mysql 能够登陆成功,但是无法对表进行操作

Can’t create/write to file ‘/tmp/#sql_4ef4_0.MYI’ (Errcode: 13)

今天服务器上用yum安装的mysql远程登陆后无法对表进行操作,提示错误信息:

Can’t create/write to file ‘/tmp/#sql_4ef4_0.MYI’ (Errcode: 13)

看起来权限设置有问题。

执行如下命令:

cd /

chmod 1757 tmp

作者: 二皮

Hackers please go away